#872732#872732

#872732 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.130 H 18.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#872732
RGBrgb(135, 39, 50)
HSLhsl(353, 55%, 34%)
HSVhsv(353, 71%, 53%)
CMYKcmyk(0%, 71.1%, 63%, 47.1%)
CIE-LABlab(31.43, 41.39, 16.75)
CIE-LCHlch(31.43, 44.65, 22.03°)
OKLaboklab(42.49% 0.1234 0.0406)
OKLCHoklch(42.49% 0.13 18.2)
XYZxyz(11.2940, 6.8338, 3.7413)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872732 #27877C
analogous
#872762 #872732 #874C27
triadic
#872732 #328727 #273287
tetradic
#872732 #628727 #27877C #4C2787
square
#872732 #628727 #27877C #4C2787
split-complementary
#872732 #27874C #276287
monochromatic
#280C0F #581920 #872732 #B63544 #CF5967

Accessibility & contrast

On white

8.87
#872732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#872732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872732
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872732#FFFFFF#000000##FFFFFF
##8727321.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D32
Deuteranopia (green-blind)
#59512F
Tritanopia (blue-blind)
#940F2C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872732;
/* rgb */ color: rgb(135, 39, 50);
/* oklch */ color: oklch(42.5% 0.130 18.2);
Tailwind
colors: {
  custom: {
    50: '#b06869',
    500: '#872732',
    950: '#000000',
  },
}
SCSS
$custom: #872732;
$custom-light: #b06869;
$custom-dark: #000000;
JSON
{
  "hex": "#872732",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 50
  },
  "hsl": {
    "h": 353.125,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.12988,
    "h": 18.2
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#872732
secondary
#56B4A9
accent
#DFCD49
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #872732

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

Preview Lab → · Contrast checker → · Palette generator →

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