#872931#872931

#872931 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.7% C 0.128 H 19.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#872931
RGBrgb(135, 41, 49)
HSLhsl(355, 53%, 35%)
HSVhsv(355, 70%, 53%)
CMYKcmyk(0%, 69.6%, 63.7%, 47.1%)
CIE-LABlab(31.72, 40.48, 17.77)
CIE-LCHlch(31.72, 44.21, 23.71°)
OKLaboklab(42.7% 0.1202 0.0429)
OKLCHoklch(42.7% 0.128 19.6)
XYZxyz(11.3401, 6.9601, 3.6514)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872931 #29877F
analogous
#872960 #872931 #875029
triadic
#872931 #318729 #293187
tetradic
#872931 #608729 #29877F #502987
square
#872931 #608729 #29877F #502987
split-complementary
#872931 #298750 #296087
monochromatic
#290C0F #581B20 #872931 #B63742 #CE5D66

Accessibility & contrast

On white

8.78
#872931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872931
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872931#FFFFFF#000000##FFFFFF
##8729311.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E31
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#94122D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872931;
/* rgb */ color: rgb(135, 41, 49);
/* oklch */ color: oklch(42.7% 0.128 19.6);
Tailwind
colors: {
  custom: {
    50: '#b06969',
    500: '#872931',
    950: '#000000',
  },
}
SCSS
$custom: #872931;
$custom-light: #b06969;
$custom-dark: #000000;
JSON
{
  "hex": "#872931",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 49
  },
  "hsl": {
    "h": 354.894,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42704,
    "c": 0.12767,
    "h": 19.6
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#872931
secondary
#59B3AB
accent
#DDD04B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #872931

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

Preview Lab → · Contrast checker → · Palette generator →

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