#871845#871845

#871845 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.148 H 2.4°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#871845
RGBrgb(135, 24, 69)
HSLhsl(336, 70%, 31%)
HSVhsv(336, 82%, 53%)
CMYKcmyk(0%, 82.2%, 48.9%, 47.1%)
CIE-LABlab(30.00, 48.26, 2.23)
CIE-LCHlch(30.00, 48.31, 2.64°)
OKLaboklab(41.59% 0.1481 0.0062)
OKLCHoklch(41.59% 0.148 2.4)
XYZxyz(11.3935, 6.2354, 6.2327)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871845 #18875A
analogous
#87187C #871845 #872318
triadic
#871845 #458718 #184587
tetradic
#871845 #7C8718 #18875A #231887
square
#871845 #7C8718 #18875A #231887
split-complementary
#871845 #188723 #187C87
monochromatic
#1F0610 #530F2A #871845 #BB2160 #DC3D7E

Accessibility & contrast

On white

9.35
#871845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#871845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871845
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871845#FFFFFF#000000##FFFFFF
##8718451.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#93002C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871845;
/* rgb */ color: rgb(135, 24, 69);
/* oklch */ color: oklch(41.6% 0.148 2.4);
Tailwind
colors: {
  custom: {
    50: '#af6278',
    500: '#871845',
    950: '#000000',
  },
}
SCSS
$custom: #871845;
$custom-light: #af6278;
$custom-dark: #000000;
JSON
{
  "hex": "#871845",
  "rgb": {
    "r": 135,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 335.676,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41593,
    "c": 0.14825,
    "h": 2.4
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#871845
secondary
#40BB89
accent
#EDA53B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871845

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

Preview Lab → · Contrast checker → · Palette generator →

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