#872229#872229

#872229 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.136 H 21.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#872229
RGBrgb(135, 34, 41)
HSLhsl(356, 60%, 33%)
HSVhsv(356, 75%, 53%)
CMYKcmyk(0%, 74.8%, 69.6%, 47.1%)
CIE-LABlab(30.54, 42.82, 21.44)
CIE-LCHlch(30.54, 47.88, 26.60°)
OKLaboklab(41.78% 0.126 0.0502)
OKLCHoklch(41.78% 0.136 21.7)
XYZxyz(10.9651, 6.4567, 2.7663)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872229 #228780
analogous
#87225B #872229 #874E22
triadic
#872229 #298722 #222987
tetradic
#872229 #5B8722 #228780 #4E2287
square
#872229 #5B8722 #228780 #4E2287
split-complementary
#872229 #22874E #225B87
monochromatic
#25090B #56161A #872229 #B82E38 #D35059

Accessibility & contrast

On white

9.17
#872229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#872229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872229
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872229#FFFFFF#000000##FFFFFF
##8722291.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A28
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#950026
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872229;
/* rgb */ color: rgb(135, 34, 41);
/* oklch */ color: oklch(41.8% 0.136 21.7);
Tailwind
colors: {
  custom: {
    50: '#b16562',
    500: '#872229',
    950: '#000000',
  },
}
SCSS
$custom: #872229;
$custom-light: #b16562;
$custom-dark: #000000;
JSON
{
  "hex": "#872229",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.842,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41777,
    "c": 0.13563,
    "h": 21.7
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#872229
secondary
#4EB7AF
accent
#E3D845
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #872229

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

Preview Lab → · Contrast checker → · Palette generator →

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