#872232#872232

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

Color values

HEX#872232
RGBrgb(135, 34, 50)
HSLhsl(350, 60%, 33%)
HSVhsv(350, 75%, 53%)
CMYKcmyk(0%, 74.8%, 63%, 47.1%)
CIE-LABlab(30.70, 43.38, 15.80)
CIE-LCHlch(30.70, 46.17, 20.01°)
OKLaboklab(41.96% 0.1297 0.0385)
OKLCHoklch(41.96% 0.135 16.5)
XYZxyz(11.1406, 6.5269, 3.6902)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872232 #228777
analogous
#872264 #872232 #874422
triadic
#872232 #328722 #223287
tetradic
#872232 #648722 #228777 #442287
square
#872232 #648722 #228777 #442287
split-complementary
#872232 #228744 #226487
monochromatic
#25090E #561620 #872232 #B82E44 #D35065

Accessibility & contrast

On white

9.11
#872232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872232
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872232#FFFFFF#000000##FFFFFF
##8722321.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B32
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#940229
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872232;
/* rgb */ color: rgb(135, 34, 50);
/* oklch */ color: oklch(42.0% 0.135 16.5);
Tailwind
colors: {
  custom: {
    50: '#b06669',
    500: '#872232',
    950: '#000000',
  },
}
SCSS
$custom: #872232;
$custom-light: #b06669;
$custom-dark: #000000;
JSON
{
  "hex": "#872232",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 50
  },
  "hsl": {
    "h": 350.495,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41957,
    "c": 0.1353,
    "h": 16.5
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#872232
secondary
#4EB7A6
accent
#E3CA45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872232

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

Preview Lab → · Contrast checker → · Palette generator →

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