#872029#872029

#872029 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.138 H 21.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#872029
RGBrgb(135, 32, 41)
HSLhsl(355, 62%, 33%)
HSVhsv(355, 76%, 53%)
CMYKcmyk(0%, 76.3%, 69.6%, 47.1%)
CIE-LABlab(30.27, 43.56, 21.11)
CIE-LCHlch(30.27, 48.41, 25.85°)
OKLaboklab(41.58% 0.1284 0.0495)
OKLCHoklch(41.58% 0.138 21.1)
XYZxyz(10.9096, 6.3457, 2.7478)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872029 #20877E
analogous
#87205D #872029 #874A20
triadic
#872029 #298720 #202987
tetradic
#872029 #5D8720 #20877E #4A2087
square
#872029 #5D8720 #20877E #4A2087
split-complementary
#872029 #20874A #205D87
monochromatic
#24090B #56141A #872029 #B82C38 #D54D59

Accessibility & contrast

On white

9.26
#872029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#872029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872029
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872029#FFFFFF#000000##FFFFFF
##8720291.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3928
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872029;
/* rgb */ color: rgb(135, 32, 41);
/* oklch */ color: oklch(41.6% 0.138 21.1);
Tailwind
colors: {
  custom: {
    50: '#b16462',
    500: '#872029',
    950: '#000000',
  },
}
SCSS
$custom: #872029;
$custom-light: #b16462;
$custom-dark: #000000;
JSON
{
  "hex": "#872029",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 41
  },
  "hsl": {
    "h": 354.757,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.13758,
    "h": 21.1
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#872029
secondary
#4BB8AE
accent
#E5D743
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #872029

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

Preview Lab → · Contrast checker → · Palette generator →

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