#872839#872839

#872839 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.129 H 14.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#872839
RGBrgb(135, 40, 57)
HSLhsl(349, 54%, 34%)
HSVhsv(349, 70%, 53%)
CMYKcmyk(0%, 70.4%, 57.8%, 47.1%)
CIE-LABlab(31.73, 41.50, 12.59)
CIE-LCHlch(31.73, 43.37, 16.87°)
OKLaboklab(42.77% 0.125 0.0314)
OKLCHoklch(42.77% 0.129 14.1)
XYZxyz(11.4900, 6.9655, 4.6095)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872839 #288776
analogous
#872869 #872839 #874728
triadic
#872839 #398728 #283987
tetradic
#872839 #698728 #288776 #472887
square
#872839 #698728 #288776 #472887
split-complementary
#872839 #288747 #286987
monochromatic
#290C11 #581A25 #872839 #B6364D #CE5B70

Accessibility & contrast

On white

8.78
#872839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#872839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872839
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872839#FFFFFF#000000##FFFFFF
##8728391.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403E39
Deuteranopia (green-blind)
#585237
Tritanopia (blue-blind)
#94142F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872839;
/* rgb */ color: rgb(135, 40, 57);
/* oklch */ color: oklch(42.8% 0.129 14.1);
Tailwind
colors: {
  custom: {
    50: '#af696f',
    500: '#872839',
    950: '#000000',
  },
}
SCSS
$custom: #872839;
$custom-light: #af696f;
$custom-dark: #000000;
JSON
{
  "hex": "#872839",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 57
  },
  "hsl": {
    "h": 349.263,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42767,
    "c": 0.12884,
    "h": 14.1
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#872839
secondary
#57B4A3
accent
#DEC34A
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110707
muted
#807A7A

Preview Lab

Preview with #872839

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

Preview Lab → · Contrast checker → · Palette generator →

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