#872740#872740

#872740 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.8% C 0.131 H 9.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#872740
RGBrgb(135, 39, 64)
HSLhsl(344, 55%, 34%)
HSVhsv(344, 71%, 53%)
CMYKcmyk(0%, 71.1%, 52.6%, 47.1%)
CIE-LABlab(31.75, 42.52, 8.02)
CIE-LCHlch(31.75, 43.27, 10.69°)
OKLaboklab(42.84% 0.1292 0.0206)
OKLCHoklch(42.84% 0.131 9.1)
XYZxyz(11.6436, 6.9736, 5.5824)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872740 #27876E
analogous
#872770 #872740 #873E27
triadic
#872740 #408727 #274087
tetradic
#872740 #708727 #27876E #3E2787
square
#872740 #708727 #27876E #3E2787
split-complementary
#872740 #27873E #277087
monochromatic
#280C13 #581929 #872740 #B63557 #CF5978

Accessibility & contrast

On white

8.77
#872740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872740
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872740#FFFFFF#000000##FFFFFF
##8727401.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E40
Deuteranopia (green-blind)
#57523E
Tritanopia (blue-blind)
#931531
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872740;
/* rgb */ color: rgb(135, 39, 64);
/* oklch */ color: oklch(42.8% 0.131 9.1);
Tailwind
colors: {
  custom: {
    50: '#af6874',
    500: '#872740',
    950: '#000000',
  },
}
SCSS
$custom: #872740;
$custom-light: #af6874;
$custom-dark: #000000;
JSON
{
  "hex": "#872740",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 344.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42837,
    "c": 0.13082,
    "h": 9.1
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#872740
secondary
#56B49B
accent
#DFB849
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #872740

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

Preview Lab → · Contrast checker → · Palette generator →

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