#801862#801862

#801862 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.157 H 342.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#801862
RGBrgb(128, 24, 98)
HSLhsl(317, 68%, 30%)
HSVhsv(317, 81%, 50%)
CMYKcmyk(0%, 81.3%, 23.4%, 49.8%)
CIE-LABlab(29.73, 49.73, -17.40)
CIE-LCHlch(29.73, 52.68, 340.71°)
OKLaboklab(41.51% 0.1499 -0.0467)
OKLCHoklch(41.51% 0.157 342.7)
XYZxyz(11.4338, 6.1255, 12.1331)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801862 #188036
analogous
#6A1880 #801862 #80182E
triadic
#801862 #628018 #186280
tetradic
#801862 #806A18 #188036 #182E80
square
#801862 #806A18 #188036 #182E80
split-complementary
#801862 #2E8018 #18806A
monochromatic
#1A0514 #4C0E3B #801862 #B42289 #DA39AB

Accessibility & contrast

On white

9.44
#801862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#801862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801862
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801862#FFFFFF#000000##FFFFFF
##8018621.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#454C60
Tritanopia (blue-blind)
#89193B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #801862;
/* rgb */ color: rgb(128, 24, 98);
/* oklch */ color: oklch(41.5% 0.157 342.7);
Tailwind
colors: {
  custom: {
    50: '#a9628e',
    500: '#801862',
    950: '#000000',
  },
}
SCSS
$custom: #801862;
$custom-light: #a9628e;
$custom-dark: #000000;
JSON
{
  "hex": "#801862",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 317.308,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41507,
    "c": 0.15701,
    "h": 342.7
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#801862
secondary
#40B461
accent
#EB6F3D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #801862

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

Preview Lab → · Contrast checker → · Palette generator →

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