#872030#872030

#872030 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.137 H 17.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#872030
RGBrgb(135, 32, 48)
HSLhsl(351, 62%, 33%)
HSVhsv(351, 76%, 53%)
CMYKcmyk(0%, 76.3%, 64.4%, 47.1%)
CIE-LABlab(30.40, 43.99, 16.71)
CIE-LCHlch(30.40, 47.06, 20.80°)
OKLaboklab(41.72% 0.1313 0.0404)
OKLCHoklch(41.72% 0.137 17.1)
XYZxyz(11.0428, 6.3989, 3.4494)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872030 #208777
analogous
#872063 #872030 #874420
triadic
#872030 #308720 #203087
tetradic
#872030 #638720 #208777 #442087
square
#872030 #638720 #208777 #442087
split-complementary
#872030 #208744 #206387
monochromatic
#24090D #56141E #872030 #B82C42 #D54D62

Accessibility & contrast

On white

9.21
#872030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#872030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872030
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872030#FFFFFF#000000##FFFFFF
##8720301.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A30
Deuteranopia (green-blind)
#574F2D
Tritanopia (blue-blind)
#940027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872030;
/* rgb */ color: rgb(135, 32, 48);
/* oklch */ color: oklch(41.7% 0.137 17.1);
Tailwind
colors: {
  custom: {
    50: '#b06568',
    500: '#872030',
    950: '#000000',
  },
}
SCSS
$custom: #872030;
$custom-light: #b06568;
$custom-dark: #000000;
JSON
{
  "hex": "#872030",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 48
  },
  "hsl": {
    "h": 350.68,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41715,
    "c": 0.13733,
    "h": 17.1
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#872030
secondary
#4BB8A7
accent
#E5CC43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872030

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

Preview Lab → · Contrast checker → · Palette generator →

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