#802158#802158

#802158 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.141 H 349.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#802158
RGBrgb(128, 33, 88)
HSLhsl(325, 59%, 32%)
HSVhsv(325, 74%, 50%)
CMYKcmyk(0%, 74.2%, 31.3%, 49.8%)
CIE-LABlab(30.36, 45.37, -9.92)
CIE-LCHlch(30.36, 46.44, 347.66°)
OKLaboklab(41.82% 0.1384 -0.0259)
OKLCHoklch(41.82% 0.141 349.4)
XYZxyz(11.2080, 6.3827, 9.8724)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802158 #218049
analogous
#792180 #802158 #802129
triadic
#802158 #588021 #215880
tetradic
#802158 #807921 #218049 #212980
square
#802158 #807921 #218049 #212980
split-complementary
#802158 #298021 #218079
monochromatic
#1F0815 #4F1437 #802158 #B12E79 #D14B98

Accessibility & contrast

On white

9.23
#802158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#802158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802158
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802158#FFFFFF#000000##FFFFFF
##8021581.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3D5A
Deuteranopia (green-blind)
#4B4E56
Tritanopia (blue-blind)
#8A1C39
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802158;
/* rgb */ color: rgb(128, 33, 88);
/* oklch */ color: oklch(41.8% 0.141 349.4);
Tailwind
colors: {
  custom: {
    50: '#a96587',
    500: '#802158',
    950: '#000000',
  },
}
SCSS
$custom: #802158;
$custom-light: #a96587;
$custom-dark: #000000;
JSON
{
  "hex": "#802158",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 325.263,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.14077,
    "h": 349.4
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#802158
secondary
#4AB376
accent
#E28846
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802158

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

Preview Lab → · Contrast checker → · Palette generator →

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