#872021#872021

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

Color values

HEX#872021
RGBrgb(135, 32, 33)
HSLhsl(359, 62%, 33%)
HSVhsv(359, 76%, 53%)
CMYKcmyk(0%, 76.3%, 75.6%, 47.1%)
CIE-LABlab(30.15, 43.15, 26.05)
CIE-LCHlch(30.15, 50.40, 31.12°)
OKLaboklab(41.45% 0.1252 0.0589)
OKLCHoklch(41.45% 0.138 25.2)
XYZxyz(10.7839, 6.2954, 2.0859)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872021 #208786
analogous
#872055 #872021 #875220
triadic
#872021 #218720 #202187
tetradic
#872021 #558720 #208786 #522087
square
#872021 #558720 #208786 #522087
split-complementary
#872021 #208752 #205587
monochromatic
#240909 #561415 #872021 #B82C2D #D54D4E

Accessibility & contrast

On white

9.30
#872021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#872021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872021
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872021#FFFFFF#000000##FFFFFF
##8720211.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3920
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872021;
/* rgb */ color: rgb(135, 32, 33);
/* oklch */ color: oklch(41.4% 0.138 25.2);
Tailwind
colors: {
  custom: {
    50: '#b2645c',
    500: '#872021',
    950: '#000000',
  },
}
SCSS
$custom: #872021;
$custom-light: #b2645c;
$custom-dark: #000000;
JSON
{
  "hex": "#872021",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 33
  },
  "hsl": {
    "h": 359.417,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.13838,
    "h": 25.2
  },
  "luminance": 0.06294
}

Semantic roles & 50–950 ramp

primary
#872021
secondary
#4BB8B7
accent
#E5E343
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872021

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

Preview Lab → · Contrast checker → · Palette generator →

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