#872331#872331

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

Color values

HEX#872331
RGBrgb(135, 35, 49)
HSLhsl(352, 59%, 33%)
HSVhsv(352, 74%, 53%)
CMYKcmyk(0%, 74.1%, 63.7%, 47.1%)
CIE-LABlab(30.82, 42.93, 16.61)
CIE-LCHlch(30.82, 46.03, 21.15°)
OKLaboklab(42.04% 0.1281 0.0402)
OKLCHoklch(42.04% 0.134 17.4)
XYZxyz(11.1482, 6.5763, 3.5875)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872331 #238779
analogous
#872363 #872331 #874723
triadic
#872331 #318723 #233187
tetradic
#872331 #638723 #238779 #472387
square
#872331 #638723 #238779 #472387
split-complementary
#872331 #238747 #236387
monochromatic
#260A0E #56161F #872331 #B83043 #D25264

Accessibility & contrast

On white

9.07
#872331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872331
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872331#FFFFFF#000000##FFFFFF
##8723311.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#940429
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872331;
/* rgb */ color: rgb(135, 35, 49);
/* oklch */ color: oklch(42.0% 0.134 17.4);
Tailwind
colors: {
  custom: {
    50: '#b06668',
    500: '#872331',
    950: '#000000',
  },
}
SCSS
$custom: #872331;
$custom-light: #b06668;
$custom-dark: #000000;
JSON
{
  "hex": "#872331",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 351.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42038,
    "c": 0.13424,
    "h": 17.4
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#872331
secondary
#50B6A8
accent
#E2CC46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872331

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

Preview Lab → · Contrast checker → · Palette generator →

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