#872837#872837

#872837 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.129 H 15.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#872837
RGBrgb(135, 40, 55)
HSLhsl(351, 54%, 34%)
HSVhsv(351, 70%, 53%)
CMYKcmyk(0%, 70.4%, 59.3%, 47.1%)
CIE-LABlab(31.68, 41.34, 13.83)
CIE-LCHlch(31.68, 43.60, 18.50°)
OKLaboklab(42.72% 0.1241 0.0342)
OKLCHoklch(42.72% 0.129 15.4)
XYZxyz(11.4411, 6.9459, 4.3519)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872837 #288778
analogous
#872867 #872837 #874928
triadic
#872837 #378728 #283787
tetradic
#872837 #678728 #288778 #492887
square
#872837 #678728 #288778 #492887
split-complementary
#872837 #288749 #286787
monochromatic
#290C11 #581A24 #872837 #B6364A #CE5B6D

Accessibility & contrast

On white

8.79
#872837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#872837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872837
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872837#FFFFFF#000000##FFFFFF
##8728371.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403E37
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#94132E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872837;
/* rgb */ color: rgb(135, 40, 55);
/* oklch */ color: oklch(42.7% 0.129 15.4);
Tailwind
colors: {
  custom: {
    50: '#b0696d',
    500: '#872837',
    950: '#000000',
  },
}
SCSS
$custom: #872837;
$custom-light: #b0696d;
$custom-dark: #000000;
JSON
{
  "hex": "#872837",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 350.526,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42719,
    "c": 0.12875,
    "h": 15.4
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#872837
secondary
#57B4A5
accent
#DEC64A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110707
muted
#807A7A

Preview Lab

Preview with #872837

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

Preview Lab → · Contrast checker → · Palette generator →

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