#872338#872338

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

Color values

HEX#872338
RGBrgb(135, 35, 56)
HSLhsl(347, 59%, 33%)
HSVhsv(347, 74%, 53%)
CMYKcmyk(0%, 74.1%, 58.5%, 47.1%)
CIE-LABlab(30.97, 43.44, 12.22)
CIE-LCHlch(30.97, 45.13, 15.71°)
OKLaboklab(42.2% 0.131 0.0304)
OKLCHoklch(42.2% 0.135 13.1)
XYZxyz(11.3076, 6.6401, 4.4268)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872338 #238772
analogous
#87236A #872338 #874023
triadic
#872338 #388723 #233887
tetradic
#872338 #6A8723 #238772 #402387
square
#872338 #6A8723 #238772 #402387
split-complementary
#872338 #238740 #236A87
monochromatic
#260A10 #561624 #872338 #B8304C #D2526D

Accessibility & contrast

On white

9.02
#872338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#872338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872338
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872338#FFFFFF#000000##FFFFFF
##8723381.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C38
Deuteranopia (green-blind)
#575035
Tritanopia (blue-blind)
#94082C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872338;
/* rgb */ color: rgb(135, 35, 56);
/* oklch */ color: oklch(42.2% 0.135 13.1);
Tailwind
colors: {
  custom: {
    50: '#b0666e',
    500: '#872338',
    950: '#000000',
  },
}
SCSS
$custom: #872338;
$custom-light: #b0666e;
$custom-dark: #000000;
JSON
{
  "hex": "#872338",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 347.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.1345,
    "h": 13.1
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#872338
secondary
#50B6A1
accent
#E2C146
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #872338

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

Preview Lab → · Contrast checker → · Palette generator →

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