#872541#872541

#872541 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.133 H 7.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#872541
RGBrgb(135, 37, 65)
HSLhsl(343, 57%, 34%)
HSVhsv(343, 73%, 53%)
CMYKcmyk(0%, 72.6%, 51.9%, 47.1%)
CIE-LABlab(31.48, 43.42, 6.99)
CIE-LCHlch(31.48, 43.98, 9.15°)
OKLaboklab(42.65% 0.1322 0.0181)
OKLCHoklch(42.65% 0.133 7.8)
XYZxyz(11.6084, 6.8572, 5.7123)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872541 #25876B
analogous
#872572 #872541 #873A25
triadic
#872541 #418725 #254187
tetradic
#872541 #728725 #25876B #3A2587
square
#872541 #728725 #25876B #3A2587
split-complementary
#872541 #25873A #257287
monochromatic
#270B13 #57182A #872541 #B73258 #D15679

Accessibility & contrast

On white

8.86
#872541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872541
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872541#FFFFFF#000000##FFFFFF
##8725411.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3E42
Deuteranopia (green-blind)
#56513F
Tritanopia (blue-blind)
#931230
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872541;
/* rgb */ color: rgb(135, 37, 65);
/* oklch */ color: oklch(42.6% 0.133 7.8);
Tailwind
colors: {
  custom: {
    50: '#af6775',
    500: '#872541',
    950: '#000000',
  },
}
SCSS
$custom: #872541;
$custom-light: #af6775;
$custom-dark: #000000;
JSON
{
  "hex": "#872541",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 342.857,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.13342,
    "h": 7.8
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#872541
secondary
#53B599
accent
#E0B548
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #872541

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

Preview Lab → · Contrast checker → · Palette generator →

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