#872041#872041

#872041 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.139 H 6.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#872041
RGBrgb(135, 32, 65)
HSLhsl(341, 62%, 33%)
HSVhsv(341, 76%, 53%)
CMYKcmyk(0%, 76.3%, 51.9%, 47.1%)
CIE-LABlab(30.80, 45.31, 6.03)
CIE-LCHlch(30.80, 45.71, 7.58°)
OKLaboklab(42.15% 0.1383 0.0157)
OKLCHoklch(42.15% 0.139 6.5)
XYZxyz(11.4633, 6.5671, 5.6640)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872041 #208766
analogous
#872074 #872041 #873320
triadic
#872041 #418720 #204187
tetradic
#872041 #748720 #208766 #332087
square
#872041 #748720 #208766 #332087
split-complementary
#872041 #208733 #207487
monochromatic
#240911 #561429 #872041 #B82C59 #D54D78

Accessibility & contrast

On white

9.08
#872041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#872041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872041
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872041#FFFFFF#000000##FFFFFF
##8720411.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B42
Deuteranopia (green-blind)
#54503F
Tritanopia (blue-blind)
#93072E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #872041;
/* rgb */ color: rgb(135, 32, 65);
/* oklch */ color: oklch(42.1% 0.139 6.5);
Tailwind
colors: {
  custom: {
    50: '#af6575',
    500: '#872041',
    950: '#000000',
  },
}
SCSS
$custom: #872041;
$custom-light: #af6575;
$custom-dark: #000000;
JSON
{
  "hex": "#872041",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 65
  },
  "hsl": {
    "h": 340.777,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.13914,
    "h": 6.5
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#872041
secondary
#4BB895
accent
#E5B143
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #872041

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

Preview Lab → · Contrast checker → · Palette generator →

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