#862A5B#862A5B

#862A5B is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.135 H 351.2°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#862A5B
RGBrgb(134, 42, 91)
HSLhsl(328, 52%, 35%)
HSVhsv(328, 69%, 53%)
CMYKcmyk(0%, 68.7%, 32.1%, 47.5%)
CIE-LABlab(32.88, 43.92, -7.96)
CIE-LCHlch(32.88, 44.63, 349.73°)
OKLaboklab(43.92% 0.1339 -0.0206)
OKLCHoklch(43.92% 0.135 351.2)
XYZxyz(12.5484, 7.4810, 10.6786)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A5B #2A8655
analogous
#832A86 #862A5B #862A2D
triadic
#862A5B #5B862A #2A5B86
tetradic
#862A5B #86832A #2A8655 #2A2D86
square
#862A5B #86832A #2A8655 #2A2D86
split-complementary
#862A5B #2D862A #2A8683
monochromatic
#290D1C #571B3B #862A5B #B5397B #CD5E99

Accessibility & contrast

On white

8.41
#862A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862A5B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A5B#FFFFFF#000000##FFFFFF
##862A5B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38435C
Deuteranopia (green-blind)
#525359
Tritanopia (blue-blind)
#90253E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862a5b;
/* rgb */ color: rgb(134, 42, 91);
/* oklch */ color: oklch(43.9% 0.135 351.2);
Tailwind
colors: {
  custom: {
    50: '#ad6a89',
    500: '#862a5b',
    950: '#000000',
  },
}
SCSS
$custom: #862a5b;
$custom-light: #ad6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#862a5b",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 328.043,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43919,
    "c": 0.13546,
    "h": 351.2
  },
  "luminance": 0.0748
}

Semantic roles & 50–950 ramp

primary
#862A5B
secondary
#5AB283
accent
#DC8F4C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #862A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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