#872838#872838

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

Color values

HEX#872838
RGBrgb(135, 40, 56)
HSLhsl(350, 54%, 34%)
HSVhsv(350, 70%, 53%)
CMYKcmyk(0%, 70.4%, 58.5%, 47.1%)
CIE-LABlab(31.71, 41.42, 13.21)
CIE-LCHlch(31.71, 43.48, 17.69°)
OKLaboklab(42.74% 0.1245 0.0328)
OKLCHoklch(42.74% 0.129 14.8)
XYZxyz(11.4653, 6.9556, 4.4794)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872838 #288777
analogous
#872868 #872838 #874828
triadic
#872838 #388728 #283887
tetradic
#872838 #688728 #288777 #482887
square
#872838 #688728 #288777 #482887
split-complementary
#872838 #288748 #286887
monochromatic
#290C11 #581A24 #872838 #B6364C #CE5B6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##872838#FFFFFF#000000##FFFFFF
##8728381.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)
#403E38
Deuteranopia (green-blind)
#585236
Tritanopia (blue-blind)
#94132E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872838;
/* rgb */ color: rgb(135, 40, 56);
/* oklch */ color: oklch(42.7% 0.129 14.8);
Tailwind
colors: {
  custom: {
    50: '#af696e',
    500: '#872838',
    950: '#000000',
  },
}
SCSS
$custom: #872838;
$custom-light: #af696e;
$custom-dark: #000000;
JSON
{
  "hex": "#872838",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 349.895,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.12878,
    "h": 14.8
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#872838
secondary
#57B4A4
accent
#DEC54A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110707
muted
#807A7A

Preview Lab

Preview with #872838

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

Preview Lab → · Contrast checker → · Palette generator →

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