#862A4D#862A4D

#862A4D is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.4% C 0.129 H 0.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#862A4D
RGBrgb(134, 42, 77)
HSLhsl(337, 52%, 35%)
HSVhsv(337, 69%, 53%)
CMYKcmyk(0%, 68.7%, 42.5%, 47.5%)
CIE-LABlab(32.40, 42.23, 0.41)
CIE-LCHlch(32.40, 42.24, 0.56°)
OKLaboklab(43.4% 0.1292 0.0016)
OKLCHoklch(43.4% 0.129 0.7)
XYZxyz(11.9999, 7.2615, 7.7894)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A4D #2A8663
analogous
#862A7B #862A4D #86352A
triadic
#862A4D #4D862A #2A4D86
tetradic
#862A4D #7B862A #2A8663 #352A86
square
#862A4D #7B862A #2A8663 #352A86
split-complementary
#862A4D #2A8635 #2A7B86
monochromatic
#290D17 #571B32 #862A4D #B53968 #CD5E88

Accessibility & contrast

On white

8.56
#862A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#862A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A4D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A4D#FFFFFF#000000##FFFFFF
##862A4D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#55534B
Tritanopia (blue-blind)
#911F38
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #862a4d;
/* rgb */ color: rgb(134, 42, 77);
/* oklch */ color: oklch(43.4% 0.129 0.7);
Tailwind
colors: {
  custom: {
    50: '#ad6a7e',
    500: '#862a4d',
    950: '#000000',
  },
}
SCSS
$custom: #862a4d;
$custom-light: #ad6a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#862a4d",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 337.174,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.12924,
    "h": 0.7
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#862A4D
secondary
#5AB290
accent
#DCA54C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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