#871945#871945

#871945 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.147 H 2.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#871945
RGBrgb(135, 25, 69)
HSLhsl(336, 69%, 31%)
HSVhsv(336, 81%, 53%)
CMYKcmyk(0%, 81.5%, 48.9%, 47.1%)
CIE-LABlab(30.10, 47.97, 2.38)
CIE-LCHlch(30.10, 48.03, 2.84°)
OKLaboklab(41.67% 0.1472 0.0066)
OKLCHoklch(41.67% 0.147 2.6)
XYZxyz(11.4145, 6.2774, 6.2397)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#871945 #19875B
analogous
#87197C #871945 #872419
triadic
#871945 #458719 #194587
tetradic
#871945 #7C8719 #19875B #241987
square
#871945 #7C8719 #19875B #241987
split-complementary
#871945 #198724 #197C87
monochromatic
#200610 #530F2B #871945 #BB235F #DB3F7E

Accessibility & contrast

On white

9.31
#871945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#871945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #871945
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##871945#FFFFFF#000000##FFFFFF
##8719451.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343946
Deuteranopia (green-blind)
#524F42
Tritanopia (blue-blind)
#93002D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #871945;
/* rgb */ color: rgb(135, 25, 69);
/* oklch */ color: oklch(41.7% 0.147 2.6);
Tailwind
colors: {
  custom: {
    50: '#af6278',
    500: '#871945',
    950: '#000000',
  },
}
SCSS
$custom: #871945;
$custom-light: #af6278;
$custom-dark: #000000;
JSON
{
  "hex": "#871945",
  "rgb": {
    "r": 135,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 336,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.14733,
    "h": 2.6
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#871945
secondary
#41BA8A
accent
#ECA53C
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #871945

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

Preview Lab → · Contrast checker → · Palette generator →

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