#872440#872440

#872440 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.134 H 8.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#872440
RGBrgb(135, 36, 64)
HSLhsl(343, 58%, 34%)
HSVhsv(343, 73%, 53%)
CMYKcmyk(0%, 73.3%, 52.6%, 47.1%)
CIE-LABlab(31.31, 43.72, 7.41)
CIE-LCHlch(31.31, 44.35, 9.62°)
OKLaboklab(42.51% 0.1331 0.0191)
OKLCHoklch(42.51% 0.134 8.2)
XYZxyz(11.5490, 6.7844, 5.5509)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872440 #24876B
analogous
#872471 #872440 #873924
triadic
#872440 #408724 #244087
tetradic
#872440 #718724 #24876B #392487
square
#872440 #718724 #24876B #392487
split-complementary
#872440 #248739 #247187
monochromatic
#260A12 #571729 #872440 #B73157 #D15477

Accessibility & contrast

On white

8.91
#872440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#872440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872440
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872440#FFFFFF#000000##FFFFFF
##8724401.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D41
Deuteranopia (green-blind)
#56513E
Tritanopia (blue-blind)
#93102F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872440;
/* rgb */ color: rgb(135, 36, 64);
/* oklch */ color: oklch(42.5% 0.134 8.2);
Tailwind
colors: {
  custom: {
    50: '#af6774',
    500: '#872440',
    950: '#000000',
  },
}
SCSS
$custom: #872440;
$custom-light: #af6774;
$custom-dark: #000000;
JSON
{
  "hex": "#872440",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 343.03,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.13441,
    "h": 8.2
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#872440
secondary
#51B599
accent
#E1B547
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #872440

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

Preview Lab → · Contrast checker → · Palette generator →

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