#872236#872236

#872236 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.135 H 14.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#872236
RGBrgb(135, 34, 54)
HSLhsl(348, 60%, 33%)
HSVhsv(348, 75%, 53%)
CMYKcmyk(0%, 74.8%, 60%, 47.1%)
CIE-LABlab(30.79, 43.67, 13.29)
CIE-LCHlch(30.79, 45.65, 16.92°)
OKLaboklab(42.05% 0.1314 0.0329)
OKLCHoklch(42.05% 0.135 14)
XYZxyz(11.2307, 6.5629, 4.1647)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872236 #228773
analogous
#872268 #872236 #874022
triadic
#872236 #368722 #223687
tetradic
#872236 #688722 #228773 #402287
square
#872236 #688722 #228773 #402287
split-complementary
#872236 #228740 #226887
monochromatic
#25090F #561622 #872236 #B82E4A #D3506A

Accessibility & contrast

On white

9.08
#872236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872236
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872236#FFFFFF#000000##FFFFFF
##8722361.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B36
Deuteranopia (green-blind)
#575033
Tritanopia (blue-blind)
#94042A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872236;
/* rgb */ color: rgb(135, 34, 54);
/* oklch */ color: oklch(42.0% 0.135 14.0);
Tailwind
colors: {
  custom: {
    50: '#b0666c',
    500: '#872236',
    950: '#000000',
  },
}
SCSS
$custom: #872236;
$custom-light: #b0666c;
$custom-dark: #000000;
JSON
{
  "hex": "#872236",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 348.119,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.13544,
    "h": 14
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#872236
secondary
#4EB7A2
accent
#E3C445
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #872236

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

Preview Lab → · Contrast checker → · Palette generator →

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