#872038#872038

#872038 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.138 H 12.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#872038
RGBrgb(135, 32, 56)
HSLhsl(346, 62%, 33%)
HSVhsv(346, 76%, 53%)
CMYKcmyk(0%, 76.3%, 58.5%, 47.1%)
CIE-LABlab(30.57, 44.56, 11.67)
CIE-LCHlch(30.57, 46.06, 14.67°)
OKLaboklab(41.9% 0.1346 0.0291)
OKLCHoklch(41.9% 0.138 12.2)
XYZxyz(11.2231, 6.4710, 4.3987)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872038 #20876F
analogous
#87206C #872038 #873B20
triadic
#872038 #388720 #203887
tetradic
#872038 #6C8720 #20876F #3B2087
square
#872038 #6C8720 #20876F #3B2087
split-complementary
#872038 #20873B #206C87
monochromatic
#24090F #561423 #872038 #B82C4D #D54D6C

Accessibility & contrast

On white

9.16
#872038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#872038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872038
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872038#FFFFFF#000000##FFFFFF
##8720381.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B38
Deuteranopia (green-blind)
#565035
Tritanopia (blue-blind)
#94012A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872038;
/* rgb */ color: rgb(135, 32, 56);
/* oklch */ color: oklch(41.9% 0.138 12.2);
Tailwind
colors: {
  custom: {
    50: '#b0656e',
    500: '#872038',
    950: '#000000',
  },
}
SCSS
$custom: #872038;
$custom-light: #b0656e;
$custom-dark: #000000;
JSON
{
  "hex": "#872038",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 346.019,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.419,
    "c": 0.13772,
    "h": 12.2
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#872038
secondary
#4BB89E
accent
#E5BF43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #872038

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

Preview Lab → · Contrast checker → · Palette generator →

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