#872728#872728

#872728 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.3% C 0.131 H 24.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#872728
RGBrgb(135, 39, 40)
HSLhsl(359, 55%, 34%)
HSVhsv(359, 71%, 53%)
CMYKcmyk(0%, 71.1%, 70.4%, 47.1%)
CIE-LABlab(31.25, 40.76, 22.95)
CIE-LCHlch(31.25, 46.77, 29.38°)
OKLaboklab(42.3% 0.1192 0.0534)
OKLCHoklch(42.3% 0.131 24.1)
XYZxyz(11.1014, 6.7568, 2.7267)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872728 #278786
analogous
#872758 #872728 #875627
triadic
#872728 #288727 #272887
tetradic
#872728 #588727 #278786 #562787
square
#872728 #588727 #278786 #562787
split-complementary
#872728 #278756 #275887
monochromatic
#280C0C #58191A #872728 #B63536 #CF595B

Accessibility & contrast

On white

8.93
#872728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#872728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872728
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872728#FFFFFF#000000##FFFFFF
##8727281.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C27
Deuteranopia (green-blind)
#5A5125
Tritanopia (blue-blind)
#950A28
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872728;
/* rgb */ color: rgb(135, 39, 40);
/* oklch */ color: oklch(42.3% 0.131 24.1);
Tailwind
colors: {
  custom: {
    50: '#b16862',
    500: '#872728',
    950: '#000000',
  },
}
SCSS
$custom: #872728;
$custom-light: #b16862;
$custom-dark: #000000;
JSON
{
  "hex": "#872728",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 40
  },
  "hsl": {
    "h": 359.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42302,
    "c": 0.13066,
    "h": 24.1
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

primary
#872728
secondary
#56B4B3
accent
#DFDD49
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #872728

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

Preview Lab → · Contrast checker → · Palette generator →

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