#862D72#862D72

#862D72 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.146 H 337.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#862D72
RGBrgb(134, 45, 114)
HSLhsl(313, 50%, 35%)
HSVhsv(313, 66%, 53%)
CMYKcmyk(0%, 66.4%, 14.9%, 47.5%)
CIE-LABlab(34.32, 45.96, -20.44)
CIE-LCHlch(34.32, 50.30, 336.02°)
OKLaboklab(45.29% 0.1353 -0.0553)
OKLCHoklch(45.29% 0.146 337.8)
XYZxyz(13.8074, 8.1612, 16.7644)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D72 #2D8641
analogous
#6D2D86 #862D72 #862D46
triadic
#862D72 #72862D #2D7286
tetradic
#862D72 #866D2D #2D8641 #2D4686
square
#862D72 #866D2D #2D8641 #2D4686
split-complementary
#862D72 #46862D #2D866D
monochromatic
#2A0E24 #581E4B #862D72 #B43C99 #CB63B3

Accessibility & contrast

On white

7.98
#862D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#862D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D72
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D72#FFFFFF#000000##FFFFFF
##862D721.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#4C5670
Tritanopia (blue-blind)
#8D314B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862d72;
/* rgb */ color: rgb(134, 45, 114);
/* oklch */ color: oklch(45.3% 0.146 337.8);
Tailwind
colors: {
  custom: {
    50: '#ac6d9a',
    500: '#862d72',
    950: '#000000',
  },
}
SCSS
$custom: #862d72;
$custom-light: #ac6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#862d72",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 313.483,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.14621,
    "h": 337.8
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#862D72
secondary
#5EB170
accent
#D96E4F
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862D72

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

Preview Lab → · Contrast checker → · Palette generator →

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