#872340#872340

#872340 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.4% C 0.136 H 7.9°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#872340
RGBrgb(135, 35, 64)
HSLhsl(343, 59%, 33%)
HSVhsv(343, 74%, 53%)
CMYKcmyk(0%, 74.1%, 52.6%, 47.1%)
CIE-LABlab(31.17, 44.11, 7.22)
CIE-LCHlch(31.17, 44.70, 9.29°)
OKLaboklab(42.41% 0.1343 0.0186)
OKLCHoklch(42.41% 0.136 7.9)
XYZxyz(11.5191, 6.7247, 5.5409)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872340 #23876A
analogous
#872372 #872340 #873823
triadic
#872340 #408723 #234087
tetradic
#872340 #728723 #23876A #382387
square
#872340 #728723 #23876A #382387
split-complementary
#872340 #238738 #237287
monochromatic
#260A12 #561629 #872340 #B83057 #D25277

Accessibility & contrast

On white

8.96
#872340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#872340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872340
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872340#FFFFFF#000000##FFFFFF
##8723401.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3D41
Deuteranopia (green-blind)
#55513E
Tritanopia (blue-blind)
#930E2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872340;
/* rgb */ color: rgb(135, 35, 64);
/* oklch */ color: oklch(42.4% 0.136 7.9);
Tailwind
colors: {
  custom: {
    50: '#af6674',
    500: '#872340',
    950: '#000000',
  },
}
SCSS
$custom: #872340;
$custom-light: #af6674;
$custom-dark: #000000;
JSON
{
  "hex": "#872340",
  "rgb": {
    "r": 135,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 342.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.13557,
    "h": 7.9
  },
  "luminance": 0.06723
}

Semantic roles & 50–950 ramp

primary
#872340
secondary
#50B698
accent
#E2B546
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #872340

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

Preview Lab → · Contrast checker → · Palette generator →

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