#862A73#862A73

#862A73 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.151 H 337.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#862A73
RGBrgb(134, 42, 115)
HSLhsl(312, 52%, 35%)
HSVhsv(312, 69%, 53%)
CMYKcmyk(0%, 68.7%, 14.2%, 47.5%)
CIE-LABlab(33.91, 47.39, -21.71)
CIE-LCHlch(33.91, 52.13, 335.39°)
OKLaboklab(45.01% 0.1393 -0.0589)
OKLCHoklch(45.01% 0.151 337.1)
XYZxyz(13.7542, 7.9633, 17.0290)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A73 #2A863D
analogous
#6B2A86 #862A73 #862A45
triadic
#862A73 #73862A #2A7386
tetradic
#862A73 #866B2A #2A863D #2A4586
square
#862A73 #866B2A #2A863D #2A4586
split-complementary
#862A73 #45862A #2A866B
monochromatic
#290D23 #571B4B #862A73 #B5399B #CD5EB6

Accessibility & contrast

On white

8.10
#862A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862A73
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A73#FFFFFF#000000##FFFFFF
##862A731.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862a73;
/* rgb */ color: rgb(134, 42, 115);
/* oklch */ color: oklch(45.0% 0.151 337.1);
Tailwind
colors: {
  custom: {
    50: '#ac6b9b',
    500: '#862a73',
    950: '#000000',
  },
}
SCSS
$custom: #862a73;
$custom-light: #ac6b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#862a73",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 312.391,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.15122,
    "h": 337.1
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#862A73
secondary
#5AB26C
accent
#DC6A4C
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862A73

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

Preview Lab → · Contrast checker → · Palette generator →

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