#872831#872831

#872831 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.6% C 0.129 H 19.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#872831
RGBrgb(135, 40, 49)
HSLhsl(354, 54%, 34%)
HSVhsv(354, 70%, 53%)
CMYKcmyk(0%, 70.4%, 63.7%, 47.1%)
CIE-LABlab(31.56, 40.90, 17.57)
CIE-LCHlch(31.56, 44.52, 23.25°)
OKLaboklab(42.59% 0.1216 0.0425)
OKLCHoklch(42.59% 0.129 19.2)
XYZxyz(11.3060, 6.8918, 3.6400)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872831 #28877E
analogous
#872861 #872831 #874F28
triadic
#872831 #318728 #283187
tetradic
#872831 #618728 #28877E #4F2887
square
#872831 #618728 #28877E #4F2887
split-complementary
#872831 #28874F #286187
monochromatic
#290C0F #581A20 #872831 #B63642 #CE5B66

Accessibility & contrast

On white

8.83
#872831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#872831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872831
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872831#FFFFFF#000000##FFFFFF
##8728311.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413E31
Deuteranopia (green-blind)
#59522E
Tritanopia (blue-blind)
#94102C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872831;
/* rgb */ color: rgb(135, 40, 49);
/* oklch */ color: oklch(42.6% 0.129 19.2);
Tailwind
colors: {
  custom: {
    50: '#b06869',
    500: '#872831',
    950: '#000000',
  },
}
SCSS
$custom: #872831;
$custom-light: #b06869;
$custom-dark: #000000;
JSON
{
  "hex": "#872831",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 354.316,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42587,
    "c": 0.1288,
    "h": 19.2
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#872831
secondary
#57B4AB
accent
#DED04A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #872831

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

Preview Lab → · Contrast checker → · Palette generator →

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