#862A5F#862A5F

#862A5F is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.138 H 348.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#862A5F
RGBrgb(134, 42, 95)
HSLhsl(325, 52%, 35%)
HSVhsv(325, 69%, 53%)
CMYKcmyk(0%, 68.7%, 29.1%, 47.5%)
CIE-LABlab(33.03, 44.45, -10.31)
CIE-LCHlch(33.03, 45.63, 346.94°)
OKLaboklab(44.08% 0.135 -0.027)
OKLCHoklch(44.08% 0.138 348.7)
XYZxyz(12.7256, 7.5518, 11.6117)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A5F #2A8651
analogous
#7F2A86 #862A5F #862A31
triadic
#862A5F #5F862A #2A5F86
tetradic
#862A5F #867F2A #2A8651 #2A3186
square
#862A5F #867F2A #2A8651 #2A3186
split-complementary
#862A5F #31862A #2A867F
monochromatic
#290D1D #571B3E #862A5F #B53980 #CD5E9E

Accessibility & contrast

On white

8.37
#862A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#862A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A5F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A5F#FFFFFF#000000##FFFFFF
##862A5F1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364361
Deuteranopia (green-blind)
#51545D
Tritanopia (blue-blind)
#902640
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862a5f;
/* rgb */ color: rgb(134, 42, 95);
/* oklch */ color: oklch(44.1% 0.138 348.7);
Tailwind
colors: {
  custom: {
    50: '#ad6b8c',
    500: '#862a5f',
    950: '#000000',
  },
}
SCSS
$custom: #862a5f;
$custom-light: #ad6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#862a5f",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 325.435,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.1377,
    "h": 348.7
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#862A5F
secondary
#5AB27F
accent
#DC894C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #862A5F

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

Preview Lab → · Contrast checker → · Palette generator →

#862A5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva