#872023#872023

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

Color values

HEX#872023
RGBrgb(135, 32, 35)
HSLhsl(358, 62%, 33%)
HSVhsv(358, 76%, 53%)
CMYKcmyk(0%, 76.3%, 74.1%, 47.1%)
CIE-LABlab(30.17, 43.25, 24.83)
CIE-LCHlch(30.17, 49.87, 29.86°)
OKLaboklab(41.48% 0.126 0.0566)
OKLCHoklch(41.48% 0.138 24.2)
XYZxyz(10.8128, 6.3069, 2.2378)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872023 #208784
analogous
#872057 #872023 #875020
triadic
#872023 #238720 #202387
tetradic
#872023 #578720 #208784 #502087
square
#872023 #578720 #208784 #502087
split-complementary
#872023 #208750 #205787
monochromatic
#240909 #561416 #872023 #B82C30 #D54D51

Accessibility & contrast

On white

9.29
#872023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872023
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872023#FFFFFF#000000##FFFFFF
##8720231.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872023;
/* rgb */ color: rgb(135, 32, 35);
/* oklch */ color: oklch(41.5% 0.138 24.2);
Tailwind
colors: {
  custom: {
    50: '#b1645e',
    500: '#872023',
    950: '#000000',
  },
}
SCSS
$custom: #872023;
$custom-light: #b1645e;
$custom-dark: #000000;
JSON
{
  "hex": "#872023",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 35
  },
  "hsl": {
    "h": 358.252,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41477,
    "c": 0.13814,
    "h": 24.2
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#872023
secondary
#4BB8B4
accent
#E5E043
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #872023

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

Preview Lab → · Contrast checker → · Palette generator →

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