#801962#801962

#801962 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.156 H 342.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#801962
RGBrgb(128, 25, 98)
HSLhsl(317, 67%, 30%)
HSVhsv(317, 80%, 50%)
CMYKcmyk(0%, 80.5%, 23.4%, 49.8%)
CIE-LABlab(29.83, 49.43, -17.24)
CIE-LCHlch(29.83, 52.35, 340.77°)
OKLaboklab(41.58% 0.149 -0.0462)
OKLCHoklch(41.58% 0.156 342.8)
XYZxyz(11.4548, 6.1675, 12.1401)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801962 #198037
analogous
#6B1980 #801962 #80192E
triadic
#801962 #628019 #196280
tetradic
#801962 #806B19 #198037 #192E80
square
#801962 #806B19 #198037 #192E80
split-complementary
#801962 #2E8019 #19806B
monochromatic
#1A0514 #4D0F3B #801962 #B32389 #D93BAB

Accessibility & contrast

On white

9.40
#801962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#801962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801962
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801962#FFFFFF#000000##FFFFFF
##8019621.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253C64
Deuteranopia (green-blind)
#454C60
Tritanopia (blue-blind)
#891A3C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #801962;
/* rgb */ color: rgb(128, 25, 98);
/* oklch */ color: oklch(41.6% 0.156 342.8);
Tailwind
colors: {
  custom: {
    50: '#a9628e',
    500: '#801962',
    950: '#000000',
  },
}
SCSS
$custom: #801962;
$custom-light: #a9628e;
$custom-dark: #000000;
JSON
{
  "hex": "#801962",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 317.476,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.41583,
    "c": 0.156,
    "h": 342.8
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#801962
secondary
#41B462
accent
#EA703E
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #801962

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

Preview Lab → · Contrast checker → · Palette generator →

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