#872333#872333

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

Color values

HEX#872333
RGBrgb(135, 35, 51)
HSLhsl(350, 59%, 33%)
HSVhsv(350, 74%, 53%)
CMYKcmyk(0%, 74.1%, 62.2%, 47.1%)
CIE-LABlab(30.86, 43.07, 15.36)
CIE-LCHlch(30.86, 45.73, 19.62°)
OKLaboklab(42.08% 0.1289 0.0375)
OKLCHoklch(42.08% 0.134 16.2)
XYZxyz(11.1914, 6.5936, 3.8147)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872333 #238777
analogous
#872365 #872333 #874523
triadic
#872333 #338723 #233387
tetradic
#872333 #658723 #238777 #452387
square
#872333 #658723 #238777 #452387
split-complementary
#872333 #238745 #236587
monochromatic
#260A0E #561621 #872333 #B83045 #D25267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872333#FFFFFF#000000##FFFFFF
##8723331.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)
#3E3B33
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#94052A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872333;
/* rgb */ color: rgb(135, 35, 51);
/* oklch */ color: oklch(42.1% 0.134 16.2);
Tailwind
colors: {
  custom: {
    50: '#b0666a',
    500: '#872333',
    950: '#000000',
  },
}
SCSS
$custom: #872333;
$custom-light: #b0666a;
$custom-dark: #000000;
JSON
{
  "hex": "#872333",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 51
  },
  "hsl": {
    "h": 350.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42081,
    "c": 0.13425,
    "h": 16.2
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#872333
secondary
#50B6A6
accent
#E2C946
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872333

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

Preview Lab → · Contrast checker → · Palette generator →

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