#861A42#861A42

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

Color values

HEX#861A42
RGBrgb(134, 26, 66)
HSLhsl(338, 68%, 31%)
HSVhsv(338, 81%, 53%)
CMYKcmyk(0%, 80.6%, 50.7%, 47.5%)
CIE-LABlab(29.92, 47.11, 4.08)
CIE-LCHlch(29.92, 47.28, 4.95°)
OKLaboklab(41.47% 0.1442 0.0109)
OKLCHoklch(41.47% 0.145 4.3)
XYZxyz(11.1853, 6.2020, 5.7613)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#861A42 #1A865E
analogous
#861A78 #861A42 #86281A
triadic
#861A42 #42861A #1A4286
tetradic
#861A42 #78861A #1A865E #281A86
square
#861A42 #78861A #1A865E #281A86
split-complementary
#861A42 #1A8628 #1A7886
monochromatic
#1F0610 #531029 #861A42 #B9245B #DA4079

Accessibility & contrast

On white

9.38
#861A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#861A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##861A42#FFFFFF#000000##FFFFFF
##861A421.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)
#353943
Deuteranopia (green-blind)
#524E3F
Tritanopia (blue-blind)
#92002C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #861a42;
/* rgb */ color: rgb(134, 26, 66);
/* oklch */ color: oklch(41.5% 0.145 4.3);
Tailwind
colors: {
  custom: {
    50: '#af6376',
    500: '#861a42',
    950: '#000000',
  },
}
SCSS
$custom: #861a42;
$custom-light: #af6376;
$custom-dark: #000000;
JSON
{
  "hex": "#861a42",
  "rgb": {
    "r": 134,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 337.778,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41467,
    "c": 0.14464,
    "h": 4.3
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#861A42
secondary
#42B98D
accent
#EAAA3D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #861A42

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

Preview Lab → · Contrast checker → · Palette generator →

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