#801852#801852

#801852 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 352.0°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#801852
RGBrgb(128, 24, 82)
HSLhsl(327, 68%, 30%)
HSVhsv(327, 81%, 50%)
CMYKcmyk(0%, 81.3%, 35.9%, 49.8%)
CIE-LABlab(29.04, 47.69, -7.97)
CIE-LCHlch(29.04, 48.35, 350.51°)
OKLaboklab(40.78% 0.1464 -0.0206)
OKLCHoklch(40.78% 0.148 352)
XYZxyz(10.7524, 5.8530, 8.5445)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801852 #188046
analogous
#7A1880 #801852 #80181E
triadic
#801852 #528018 #185280
tetradic
#801852 #807A18 #188046 #181E80
square
#801852 #807A18 #188046 #181E80
split-complementary
#801852 #1E8018 #18807A
monochromatic
#1A0511 #4C0E31 #801852 #B42273 #DA3993

Accessibility & contrast

On white

9.68
#801852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#801852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801852
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801852#FFFFFF#000000##FFFFFF
##8018521.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3953
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#8A0D33
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #801852;
/* rgb */ color: rgb(128, 24, 82);
/* oklch */ color: oklch(40.8% 0.148 352.0);
Tailwind
colors: {
  custom: {
    50: '#a96182',
    500: '#801852',
    950: '#000000',
  },
}
SCSS
$custom: #801852;
$custom-light: #a96182;
$custom-dark: #000000;
JSON
{
  "hex": "#801852",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 326.538,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.14779,
    "h": 352
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#801852
secondary
#40B473
accent
#EB8A3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #801852

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

Preview Lab → · Contrast checker → · Palette generator →

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