#862B72#862B72

#862B72 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.149 H 337.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#862B72
RGBrgb(134, 43, 114)
HSLhsl(313, 51%, 35%)
HSVhsv(313, 68%, 53%)
CMYKcmyk(0%, 67.9%, 14.9%, 47.5%)
CIE-LABlab(34.01, 46.82, -20.92)
CIE-LCHlch(34.01, 51.28, 335.92°)
OKLaboklab(45.07% 0.1379 -0.0567)
OKLCHoklch(45.07% 0.149 337.6)
XYZxyz(13.7329, 8.0122, 16.7396)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B72 #2B863F
analogous
#6D2B86 #862B72 #862B45
triadic
#862B72 #72862B #2B7286
tetradic
#862B72 #866D2B #2B863F #2B4586
square
#862B72 #866D2B #2B863F #2B4586
split-complementary
#862B72 #45862B #2B866D
monochromatic
#290D23 #581C4B #862B72 #B43A99 #CC60B4

Accessibility & contrast

On white

8.07
#862B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#862B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B72
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B72#FFFFFF#000000##FFFFFF
##862B721.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#4B5570
Tritanopia (blue-blind)
#8D2F4A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862b72;
/* rgb */ color: rgb(134, 43, 114);
/* oklch */ color: oklch(45.1% 0.149 337.6);
Tailwind
colors: {
  custom: {
    50: '#ac6c9a',
    500: '#862b72',
    950: '#000000',
  },
}
SCSS
$custom: #862b72;
$custom-light: #ac6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#862b72",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 313.187,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45067,
    "c": 0.14908,
    "h": 337.6
  },
  "luminance": 0.08011
}

Semantic roles & 50–950 ramp

primary
#862B72
secondary
#5BB26E
accent
#DB6C4D
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862B72

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

Preview Lab → · Contrast checker → · Palette generator →

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