#871648#871648

#871648 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.151 H 0.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#871648
RGBrgb(135, 22, 72)
HSLhsl(333, 72%, 31%)
HSVhsv(333, 84%, 53%)
CMYKcmyk(0%, 83.7%, 46.7%, 47.1%)
CIE-LABlab(29.90, 49.10, 0.09)
CIE-LCHlch(29.90, 49.10, 0.10°)
OKLaboklab(41.55% 0.151 0.0008)
OKLCHoklch(41.55% 0.151 0.3)
XYZxyz(11.4492, 6.1942, 6.7223)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871648 #168755
analogous
#871680 #871648 #871C16
triadic
#871648 #488716 #164887
tetradic
#871648 #808716 #168755 #1C1687
square
#871648 #808716 #168755 #1C1687
split-complementary
#871648 #16871C #168087
monochromatic
#1E0510 #520D2C #871648 #BC1F64 #DF3982

Accessibility & contrast

On white

9.38
#871648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#871648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871648
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871648#FFFFFF#000000##FFFFFF
##8716481.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#504E45
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #871648;
/* rgb */ color: rgb(135, 22, 72);
/* oklch */ color: oklch(41.5% 0.151 0.3);
Tailwind
colors: {
  custom: {
    50: '#af627a',
    500: '#871648',
    950: '#000000',
  },
}
SCSS
$custom: #871648;
$custom-light: #af627a;
$custom-dark: #000000;
JSON
{
  "hex": "#871648",
  "rgb": {
    "r": 135,
    "g": 22,
    "b": 72
  },
  "hsl": {
    "h": 333.451,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41549,
    "c": 0.151,
    "h": 0.3
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#871648
secondary
#3EBB84
accent
#EF9E39
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #871648

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

Preview Lab → · Contrast checker → · Palette generator →

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