#872234#872234

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

Color values

HEX#872234
RGBrgb(135, 34, 52)
HSLhsl(349, 60%, 33%)
HSVhsv(349, 75%, 53%)
CMYKcmyk(0%, 74.8%, 61.5%, 47.1%)
CIE-LABlab(30.75, 43.52, 14.54)
CIE-LCHlch(30.75, 45.89, 18.48°)
OKLaboklab(42% 0.1306 0.0357)
OKLCHoklch(42% 0.135 15.3)
XYZxyz(11.1846, 6.5445, 3.9224)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872234 #228775
analogous
#872266 #872234 #874222
triadic
#872234 #348722 #223487
tetradic
#872234 #668722 #228775 #422287
square
#872234 #668722 #228775 #422287
split-complementary
#872234 #228742 #226687
monochromatic
#25090E #561621 #872234 #B82E47 #D35068

Accessibility & contrast

On white

9.10
#872234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872234
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872234#FFFFFF#000000##FFFFFF
##8722341.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B34
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#940329
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872234;
/* rgb */ color: rgb(135, 34, 52);
/* oklch */ color: oklch(42.0% 0.135 15.3);
Tailwind
colors: {
  custom: {
    50: '#b0666b',
    500: '#872234',
    950: '#000000',
  },
}
SCSS
$custom: #872234;
$custom-light: #b0666b;
$custom-dark: #000000;
JSON
{
  "hex": "#872234",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 349.307,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.13535,
    "h": 15.3
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#872234
secondary
#4EB7A4
accent
#E3C745
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872234

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

Preview Lab → · Contrast checker → · Palette generator →

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