#872428#872428

#872428 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.134 H 23.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#872428
RGBrgb(135, 36, 40)
HSLhsl(358, 58%, 34%)
HSVhsv(358, 73%, 53%)
CMYKcmyk(0%, 73.3%, 70.4%, 47.1%)
CIE-LABlab(30.80, 41.98, 22.40)
CIE-LCHlch(30.80, 47.59, 28.09°)
OKLaboklab(41.97% 0.1231 0.0522)
OKLCHoklch(41.97% 0.134 23)
XYZxyz(11.0067, 6.5675, 2.6952)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872428 #248783
analogous
#872459 #872428 #875124
triadic
#872428 #288724 #242887
tetradic
#872428 #598724 #248783 #512487
square
#872428 #598724 #248783 #512487
split-complementary
#872428 #248751 #245987
monochromatic
#260A0B #57171A #872428 #B73136 #D15459

Accessibility & contrast

On white

9.08
#872428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#872428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872428
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872428#FFFFFF#000000##FFFFFF
##8724281.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B27
Deuteranopia (green-blind)
#595025
Tritanopia (blue-blind)
#950226
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872428;
/* rgb */ color: rgb(135, 36, 40);
/* oklch */ color: oklch(42.0% 0.134 23.0);
Tailwind
colors: {
  custom: {
    50: '#b16662',
    500: '#872428',
    950: '#000000',
  },
}
SCSS
$custom: #872428;
$custom-light: #b16662;
$custom-dark: #000000;
JSON
{
  "hex": "#872428",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 40
  },
  "hsl": {
    "h": 357.576,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41969,
    "c": 0.13374,
    "h": 23
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#872428
secondary
#51B5B1
accent
#E1DB47
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #872428

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

Preview Lab → · Contrast checker → · Palette generator →

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