#861F42#861F42

#861F42 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.140 H 5.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#861F42
RGBrgb(134, 31, 66)
HSLhsl(340, 62%, 32%)
HSVhsv(340, 77%, 53%)
CMYKcmyk(0%, 76.9%, 50.7%, 47.5%)
CIE-LABlab(30.50, 45.45, 4.92)
CIE-LCHlch(30.50, 45.72, 6.18°)
OKLaboklab(41.9% 0.1389 0.013)
OKLCHoklch(41.9% 0.14 5.3)
XYZxyz(11.3058, 6.4432, 5.8015)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861F42 #1F8663
analogous
#861F75 #861F42 #86301F
triadic
#861F42 #42861F #1F4286
tetradic
#861F42 #75861F #1F8663 #301F86
square
#861F42 #75861F #1F8663 #301F86
split-complementary
#861F42 #1F8630 #1F7586
monochromatic
#230811 #54142A #861F42 #B82A5A #D54A79

Accessibility & contrast

On white

9.18
#861F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#861F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #861F42
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##861F42#FFFFFF#000000##FFFFFF
##861F421.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#92072E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #861f42;
/* rgb */ color: rgb(134, 31, 66);
/* oklch */ color: oklch(41.9% 0.140 5.3);
Tailwind
colors: {
  custom: {
    50: '#ae6576',
    500: '#861f42',
    950: '#000000',
  },
}
SCSS
$custom: #861f42;
$custom-light: #ae6576;
$custom-dark: #000000;
JSON
{
  "hex": "#861f42",
  "rgb": {
    "r": 134,
    "g": 31,
    "b": 66
  },
  "hsl": {
    "h": 339.612,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41899,
    "c": 0.1395,
    "h": 5.3
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#861F42
secondary
#49B892
accent
#E5AE42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #861F42

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

Preview Lab → · Contrast checker → · Palette generator →

#861F42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva