#872938#872938

#872938 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.128 H 15.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#872938
RGBrgb(135, 41, 56)
HSLhsl(350, 53%, 35%)
HSVhsv(350, 70%, 53%)
CMYKcmyk(0%, 69.6%, 58.5%, 47.1%)
CIE-LABlab(31.86, 41.00, 13.42)
CIE-LCHlch(31.86, 43.14, 18.12°)
OKLaboklab(42.86% 0.1232 0.0333)
OKLCHoklch(42.86% 0.128 15.1)
XYZxyz(11.4995, 7.0239, 4.4908)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872938 #298778
analogous
#872967 #872938 #874929
triadic
#872938 #388729 #293887
tetradic
#872938 #678729 #298778 #492987
square
#872938 #678729 #298778 #492987
split-complementary
#872938 #298749 #296787
monochromatic
#290C11 #581B25 #872938 #B6374B #CE5D6F

Accessibility & contrast

On white

8.73
#872938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#872938 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872938
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872938#FFFFFF#000000##FFFFFF
##8729381.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413F38
Deuteranopia (green-blind)
#595236
Tritanopia (blue-blind)
#94152F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872938;
/* rgb */ color: rgb(135, 41, 56);
/* oklch */ color: oklch(42.9% 0.128 15.1);
Tailwind
colors: {
  custom: {
    50: '#af696e',
    500: '#872938',
    950: '#000000',
  },
}
SCSS
$custom: #872938;
$custom-light: #af696e;
$custom-dark: #000000;
JSON
{
  "hex": "#872938",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 56
  },
  "hsl": {
    "h": 350.426,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.12761,
    "h": 15.1
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#872938
secondary
#59B3A5
accent
#DDC64B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110707
muted
#807A7A

Preview Lab

Preview with #872938

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

Preview Lab → · Contrast checker → · Palette generator →

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