#801562#801562

#801562 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.160 H 342.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#801562
RGBrgb(128, 21, 98)
HSLhsl(317, 72%, 29%)
HSVhsv(317, 84%, 50%)
CMYKcmyk(0%, 83.6%, 23.4%, 49.8%)
CIE-LABlab(29.43, 50.57, -17.86)
CIE-LCHlch(29.43, 53.63, 340.55°)
OKLaboklab(41.3% 0.1525 -0.0479)
OKLCHoklch(41.3% 0.16 342.5)
XYZxyz(11.3753, 6.0086, 12.1136)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801562 #158033
analogous
#691580 #801562 #80152D
triadic
#801562 #628015 #156280
tetradic
#801562 #806915 #158033 #152D80
square
#801562 #806915 #158033 #152D80
split-complementary
#801562 #2D8015 #158069
monochromatic
#1A0414 #4B0C3A #801562 #B51E8A #DD32AD

Accessibility & contrast

On white

9.54
#801562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#801562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801562
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801562#FFFFFF#000000##FFFFFF
##8015621.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223A64
Deuteranopia (green-blind)
#444B60
Tritanopia (blue-blind)
#89163B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #801562;
/* rgb */ color: rgb(128, 21, 98);
/* oklch */ color: oklch(41.3% 0.160 342.5);
Tailwind
colors: {
  custom: {
    50: '#a9618f',
    500: '#801562',
    950: '#000000',
  },
}
SCSS
$custom: #801562;
$custom-light: #a9618f;
$custom-dark: #000000;
JSON
{
  "hex": "#801562",
  "rgb": {
    "r": 128,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 316.822,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41296,
    "c": 0.15986,
    "h": 342.5
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#801562
secondary
#3CB55E
accent
#EF6C39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #801562

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

Preview Lab → · Contrast checker → · Palette generator →

#801562 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva