#872230#872230

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

Color values

HEX#872230
RGBrgb(135, 34, 48)
HSLhsl(352, 60%, 33%)
HSVhsv(352, 75%, 53%)
CMYKcmyk(0%, 74.8%, 64.4%, 47.1%)
CIE-LABlab(30.66, 43.25, 17.06)
CIE-LCHlch(30.66, 46.49, 21.53°)
OKLaboklab(41.91% 0.1289 0.0412)
OKLCHoklch(41.91% 0.135 17.7)
XYZxyz(11.0983, 6.5100, 3.4679)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872230 #228779
analogous
#872262 #872230 #874622
triadic
#872230 #308722 #223087
tetradic
#872230 #628722 #228779 #462287
square
#872230 #628722 #228779 #462287
split-complementary
#872230 #228746 #226287
monochromatic
#25090D #56161F #872230 #B82E41 #D35062

Accessibility & contrast

On white

9.12
#872230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#872230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872230
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872230#FFFFFF#000000##FFFFFF
##8722301.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B30
Deuteranopia (green-blind)
#57502D
Tritanopia (blue-blind)
#940128
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872230;
/* rgb */ color: rgb(135, 34, 48);
/* oklch */ color: oklch(41.9% 0.135 17.7);
Tailwind
colors: {
  custom: {
    50: '#b06668',
    500: '#872230',
    950: '#000000',
  },
}
SCSS
$custom: #872230;
$custom-light: #b06668;
$custom-dark: #000000;
JSON
{
  "hex": "#872230",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 351.683,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.1353,
    "h": 17.7
  },
  "luminance": 0.06508
}

Semantic roles & 50–950 ramp

primary
#872230
secondary
#4EB7A8
accent
#E3CD45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872230

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

Preview Lab → · Contrast checker → · Palette generator →

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