#872028#872028

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

Color values

HEX#872028
RGBrgb(135, 32, 40)
HSLhsl(355, 62%, 33%)
HSVhsv(355, 76%, 53%)
CMYKcmyk(0%, 76.3%, 70.4%, 47.1%)
CIE-LABlab(30.25, 43.50, 21.73)
CIE-LCHlch(30.25, 48.63, 26.55°)
OKLaboklab(41.56% 0.128 0.0507)
OKLCHoklch(41.56% 0.138 21.6)
XYZxyz(10.8924, 6.3388, 2.6570)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872028 #20877F
analogous
#87205B #872028 #874C20
triadic
#872028 #288720 #202887
tetradic
#872028 #5B8720 #20877F #4C2087
square
#872028 #5B8720 #20877F #4C2087
split-complementary
#872028 #20874C #205B87
monochromatic
#24090B #561419 #872028 #B82C37 #D54D57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872028#FFFFFF#000000##FFFFFF
##8720281.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)
#3E3927
Deuteranopia (green-blind)
#584F25
Tritanopia (blue-blind)
#950024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #872028;
/* rgb */ color: rgb(135, 32, 40);
/* oklch */ color: oklch(41.6% 0.138 21.6);
Tailwind
colors: {
  custom: {
    50: '#b16461',
    500: '#872028',
    950: '#000000',
  },
}
SCSS
$custom: #872028;
$custom-light: #b16461;
$custom-dark: #000000;
JSON
{
  "hex": "#872028",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 355.34,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.13765,
    "h": 21.6
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#872028
secondary
#4BB8AF
accent
#E5D843
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #872028

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

Preview Lab → · Contrast checker → · Palette generator →

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