#862A72#862A72

#862A72 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.150 H 337.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#862A72
RGBrgb(134, 42, 114)
HSLhsl(313, 52%, 35%)
HSVhsv(313, 69%, 53%)
CMYKcmyk(0%, 68.7%, 14.9%, 47.5%)
CIE-LABlab(33.86, 47.23, -21.15)
CIE-LCHlch(33.86, 51.75, 335.87°)
OKLaboklab(44.96% 0.1391 -0.0573)
OKLCHoklch(44.96% 0.15 337.6)
XYZxyz(13.6970, 7.9404, 16.7276)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A72 #2A863E
analogous
#6C2A86 #862A72 #862A44
triadic
#862A72 #72862A #2A7286
tetradic
#862A72 #866C2A #2A863E #2A4486
square
#862A72 #866C2A #2A863E #2A4486
split-complementary
#862A72 #44862A #2A866C
monochromatic
#290D23 #571B4A #862A72 #B5399A #CD5EB4

Accessibility & contrast

On white

8.12
#862A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#862A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A72
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A72#FFFFFF#000000##FFFFFF
##862A721.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4774
Deuteranopia (green-blind)
#4A5570
Tritanopia (blue-blind)
#8D2E4A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862a72;
/* rgb */ color: rgb(134, 42, 114);
/* oklch */ color: oklch(45.0% 0.150 337.6);
Tailwind
colors: {
  custom: {
    50: '#ac6b9a',
    500: '#862a72',
    950: '#000000',
  },
}
SCSS
$custom: #862a72;
$custom-light: #ac6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#862a72",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 313.043,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44958,
    "c": 0.15047,
    "h": 337.6
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#862A72
secondary
#5AB26D
accent
#DC6B4C
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862A72

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

Preview Lab → · Contrast checker → · Palette generator →

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