#872231#872231

#872231 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.135 H 17.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#872231
RGBrgb(135, 34, 49)
HSLhsl(351, 60%, 33%)
HSVhsv(351, 75%, 53%)
CMYKcmyk(0%, 74.8%, 63.7%, 47.1%)
CIE-LABlab(30.68, 43.31, 16.43)
CIE-LCHlch(30.68, 46.33, 20.77°)
OKLaboklab(41.94% 0.1293 0.0398)
OKLCHoklch(41.94% 0.135 17.1)
XYZxyz(11.1192, 6.5183, 3.5778)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872231 #228778
analogous
#872263 #872231 #874522
triadic
#872231 #318722 #223187
tetradic
#872231 #638722 #228778 #452287
square
#872231 #638722 #228778 #452287
split-complementary
#872231 #228745 #226387
monochromatic
#25090E #56161F #872231 #B82E43 #D35064

Accessibility & contrast

On white

9.12
#872231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#872231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872231
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872231#FFFFFF#000000##FFFFFF
##8722311.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#940128
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872231;
/* rgb */ color: rgb(135, 34, 49);
/* oklch */ color: oklch(41.9% 0.135 17.1);
Tailwind
colors: {
  custom: {
    50: '#b06668',
    500: '#872231',
    950: '#000000',
  },
}
SCSS
$custom: #872231;
$custom-light: #b06668;
$custom-dark: #000000;
JSON
{
  "hex": "#872231",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 351.089,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.1353,
    "h": 17.1
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#872231
secondary
#4EB7A7
accent
#E3CB45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872231

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

Preview Lab → · Contrast checker → · Palette generator →

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