#872233#872233

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

Color values

HEX#872233
RGBrgb(135, 34, 51)
HSLhsl(350, 60%, 33%)
HSVhsv(350, 75%, 53%)
CMYKcmyk(0%, 74.8%, 62.2%, 47.1%)
CIE-LABlab(30.73, 43.45, 15.17)
CIE-LCHlch(30.73, 46.03, 19.25°)
OKLaboklab(41.98% 0.1301 0.0371)
OKLCHoklch(41.98% 0.135 15.9)
XYZxyz(11.1624, 6.5356, 3.8050)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872233 #228776
analogous
#872265 #872233 #874322
triadic
#872233 #338722 #223387
tetradic
#872233 #658722 #228776 #432287
square
#872233 #658722 #228776 #432287
split-complementary
#872233 #228743 #226587
monochromatic
#25090E #561621 #872233 #B82E45 #D35066

Accessibility & contrast

On white

9.10
#872233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#872233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872233
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872233#FFFFFF#000000##FFFFFF
##8722331.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B33
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#940329
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872233;
/* rgb */ color: rgb(135, 34, 51);
/* oklch */ color: oklch(42.0% 0.135 15.9);
Tailwind
colors: {
  custom: {
    50: '#b0666a',
    500: '#872233',
    950: '#000000',
  },
}
SCSS
$custom: #872233;
$custom-light: #b0666a;
$custom-dark: #000000;
JSON
{
  "hex": "#872233",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 349.901,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41979,
    "c": 0.13532,
    "h": 15.9
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#872233
secondary
#4EB7A5
accent
#E3C845
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872233

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

Preview Lab → · Contrast checker → · Palette generator →

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