#872237#872237

#872237 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.136 H 13.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#872237
RGBrgb(135, 34, 55)
HSLhsl(348, 60%, 33%)
HSVhsv(348, 75%, 53%)
CMYKcmyk(0%, 74.8%, 59.3%, 47.1%)
CIE-LABlab(30.81, 43.75, 12.66)
CIE-LCHlch(30.81, 45.54, 16.14°)
OKLaboklab(42.07% 0.1318 0.0314)
OKLCHoklch(42.07% 0.136 13.4)
XYZxyz(11.2544, 6.5724, 4.2897)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872237 #228772
analogous
#872269 #872237 #874022
triadic
#872237 #378722 #223787
tetradic
#872237 #698722 #228772 #402287
square
#872237 #698722 #228772 #402287
split-complementary
#872237 #228740 #226987
monochromatic
#25090F #561623 #872237 #B82E4B #D3506C

Accessibility & contrast

On white

9.07
#872237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872237
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872237#FFFFFF#000000##FFFFFF
##8722371.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3B37
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#94052B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872237;
/* rgb */ color: rgb(135, 34, 55);
/* oklch */ color: oklch(42.1% 0.136 13.4);
Tailwind
colors: {
  custom: {
    50: '#b0666d',
    500: '#872237',
    950: '#000000',
  },
}
SCSS
$custom: #872237;
$custom-light: #b0666d;
$custom-dark: #000000;
JSON
{
  "hex": "#872237",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 347.525,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42072,
    "c": 0.13551,
    "h": 13.4
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#872237
secondary
#4EB7A1
accent
#E3C245
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #872237

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

Preview Lab → · Contrast checker → · Palette generator →

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