Skip to content

Peru

Hex #CD853F, rgb(205 133 63). A brown CSS named color.

Open in palette generator

Peru color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Peru

Peru is a medium saturated brown with the hex code #CD853F. In RGB it is made of 205 red, 133 green and 63 blue; in HSL its hue is 30°, with 59% saturation and 53% lightness. Its perceptual lightness (OKLCH L) is 67.8%.

It is a CSS named color, so you can write "peru" anywhere CSS accepts a color. Against white it has a contrast ratio of 2.99:1 and against black 7.02:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Peru mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Peru 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Peru

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Monochromatic

Contrast and readability

WCAG 2 contrast of Peru with white and black. The readable text color on Peru is black.

Peru textSmall text on white

On white2.99:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc 56

Peru textSmall text on black

On black7.02:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc -45

Black text on Peru (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Peru appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#9B8B37
  • Deuteranopia#AC9C40
  • Tritanopia#DF7576
  • Protanomaly#AB8B39
  • Deuteranomaly#B4963F
  • Tritanomaly#D47F5D
  • Achromatopsia#959595

Colors similar to Peru

The closest named colors by perceptual difference (OKLab).

Use Peru in CSS and Tailwind

CSS
.peru {
  color: peru; /* #CD853F */
  background-color: rgb(205 133 63);
  border-color: oklch(67.8% 0.123 62.2);
}
Tailwind CSS
/* Tailwind CSS v4: bg-peru-500, text-peru-700... */
@theme {
  --color-peru-50: #FFF9F4;
  --color-peru-100: #F9EADD;
  --color-peru-200: #EFD4BD;
  --color-peru-300: #E3B288;
  --color-peru-400: #CD853F;
  --color-peru-500: #BC6B00;
  --color-peru-600: #A15C00;
  --color-peru-700: #834900;
  --color-peru-800: #6A3A00;
  --color-peru-900: #572F00;
  --color-peru-950: #251000;
}

<!-- or the exact color, no config -->
<div class="bg-[#CD853F] text-[#000000]">…</div>