#872339#872339

#872339 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.135 H 12.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#872339
RGBrgb(135, 35, 57)
HSLhsl(347, 59%, 33%)
HSVhsv(347, 74%, 53%)
CMYKcmyk(0%, 74.1%, 57.8%, 47.1%)
CIE-LABlab(31.00, 43.52, 11.59)
CIE-LCHlch(31.00, 45.04, 14.91°)
OKLaboklab(42.22% 0.1314 0.029)
OKLCHoklch(42.22% 0.135 12.4)
XYZxyz(11.3323, 6.6500, 4.5569)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872339 #238771
analogous
#87236B #872339 #873F23
triadic
#872339 #398723 #233987
tetradic
#872339 #6B8723 #238771 #3F2387
square
#872339 #6B8723 #238771 #3F2387
split-complementary
#872339 #23873F #236B87
monochromatic
#260A10 #561624 #872339 #B8304E #D2526E

Accessibility & contrast

On white

9.01
#872339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#872339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872339
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872339#FFFFFF#000000##FFFFFF
##8723391.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C39
Deuteranopia (green-blind)
#565036
Tritanopia (blue-blind)
#94092C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872339;
/* rgb */ color: rgb(135, 35, 57);
/* oklch */ color: oklch(42.2% 0.135 12.4);
Tailwind
colors: {
  custom: {
    50: '#b0666f',
    500: '#872339',
    950: '#000000',
  },
}
SCSS
$custom: #872339;
$custom-light: #b0666f;
$custom-dark: #000000;
JSON
{
  "hex": "#872339",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 57
  },
  "hsl": {
    "h": 346.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.13458,
    "h": 12.4
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#872339
secondary
#50B6A0
accent
#E2C046
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #872339

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

Preview Lab → · Contrast checker → · Palette generator →

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