#872522#872522

#872522 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.134 H 26.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#872522
RGBrgb(135, 37, 34)
HSLhsl(2, 60%, 33%)
HSVhsv(2, 75%, 53%)
CMYKcmyk(0%, 72.6%, 74.8%, 47.1%)
CIE-LABlab(30.86, 41.27, 26.24)
CIE-LCHlch(30.86, 48.91, 32.45°)
OKLaboklab(41.98% 0.1195 0.0595)
OKLCHoklch(41.98% 0.134 26.5)
XYZxyz(10.9432, 6.5912, 2.2091)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872522 #228487
analogous
#872251 #872522 #875722
triadic
#872522 #228725 #252287
tetradic
#872522 #518722 #228487 #572287
square
#872522 #518722 #228487 #572287
split-complementary
#872522 #228757 #225187
monochromatic
#250A09 #561816 #872522 #B8322E #D35450

Accessibility & contrast

On white

9.06
#872522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#872522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872522
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872522#FFFFFF#000000##FFFFFF
##8725221.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B21
Deuteranopia (green-blind)
#5A501F
Tritanopia (blue-blind)
#950225
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872522;
/* rgb */ color: rgb(135, 37, 34);
/* oklch */ color: oklch(42.0% 0.134 26.5);
Tailwind
colors: {
  custom: {
    50: '#b1675d',
    500: '#872522',
    950: '#000000',
  },
}
SCSS
$custom: #872522;
$custom-light: #b1675d;
$custom-dark: #000000;
JSON
{
  "hex": "#872522",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 34
  },
  "hsl": {
    "h": 1.782,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.13351,
    "h": 26.5
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#872522
secondary
#4EB3B7
accent
#DEE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872522

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#872522 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva