#862A5D#862A5D

#862A5D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.0% C 0.137 H 350.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#862A5D
RGBrgb(134, 42, 93)
HSLhsl(327, 52%, 35%)
HSVhsv(327, 69%, 53%)
CMYKcmyk(0%, 68.7%, 30.6%, 47.5%)
CIE-LABlab(32.95, 44.18, -9.14)
CIE-LCHlch(32.95, 45.12, 348.32°)
OKLaboklab(44% 0.1345 -0.0238)
OKLCHoklch(44% 0.137 350)
XYZxyz(12.6359, 7.5159, 11.1391)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A5D #2A8653
analogous
#812A86 #862A5D #862A2F
triadic
#862A5D #5D862A #2A5D86
tetradic
#862A5D #86812A #2A8653 #2A2F86
square
#862A5D #86812A #2A8653 #2A2F86
split-complementary
#862A5D #2F862A #2A8681
monochromatic
#290D1C #571B3D #862A5D #B5397D #CD5E9B

Accessibility & contrast

On white

8.39
#862A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#862A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A5D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A5D#FFFFFF#000000##FFFFFF
##862A5D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435E
Deuteranopia (green-blind)
#51535B
Tritanopia (blue-blind)
#90263F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862a5d;
/* rgb */ color: rgb(134, 42, 93);
/* oklch */ color: oklch(44.0% 0.137 350.0);
Tailwind
colors: {
  custom: {
    50: '#ad6b8b',
    500: '#862a5d',
    950: '#000000',
  },
}
SCSS
$custom: #862a5d;
$custom-light: #ad6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#862a5d",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 326.739,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44,
    "c": 0.13655,
    "h": 350
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#862A5D
secondary
#5AB281
accent
#DC8C4C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #862A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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