#872830#872830

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

Color values

HEX#872830
RGBrgb(135, 40, 48)
HSLhsl(355, 54%, 34%)
HSVhsv(355, 70%, 53%)
CMYKcmyk(0%, 70.4%, 64.4%, 47.1%)
CIE-LABlab(31.54, 40.83, 18.19)
CIE-LCHlch(31.54, 44.70, 24.01°)
OKLaboklab(42.57% 0.1212 0.0438)
OKLCHoklch(42.57% 0.129 19.9)
XYZxyz(11.2851, 6.8835, 3.5301)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872830 #28877F
analogous
#872860 #872830 #875028
triadic
#872830 #308728 #283087
tetradic
#872830 #608728 #28877F #502887
square
#872830 #608728 #28877F #502887
split-complementary
#872830 #288750 #286087
monochromatic
#290C0E #581A1F #872830 #B63641 #CE5B65

Accessibility & contrast

On white

8.84
#872830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872830
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872830#FFFFFF#000000##FFFFFF
##8728301.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #872830;
/* rgb */ color: rgb(135, 40, 48);
/* oklch */ color: oklch(42.6% 0.129 19.9);
Tailwind
colors: {
  custom: {
    50: '#b06868',
    500: '#872830',
    950: '#000000',
  },
}
SCSS
$custom: #872830;
$custom-light: #b06868;
$custom-dark: #000000;
JSON
{
  "hex": "#872830",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 354.947,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42566,
    "c": 0.12884,
    "h": 19.9
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#872830
secondary
#57B4AC
accent
#DED14A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #872830

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

Preview Lab → · Contrast checker → · Palette generator →

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