#802157#802157

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

Color values

HEX#802157
RGBrgb(128, 33, 87)
HSLhsl(326, 59%, 32%)
HSVhsv(326, 74%, 50%)
CMYKcmyk(0%, 74.2%, 32%, 49.8%)
CIE-LABlab(30.32, 45.24, -9.33)
CIE-LCHlch(30.32, 46.19, 348.35°)
OKLaboklab(41.78% 0.1381 -0.0243)
OKLCHoklch(41.78% 0.14 350)
XYZxyz(11.1668, 6.3663, 9.6557)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802157 #21804A
analogous
#7A2180 #802157 #802128
triadic
#802157 #578021 #215780
tetradic
#802157 #807A21 #21804A #212880
square
#802157 #807A21 #21804A #212880
split-complementary
#802157 #288021 #21807A
monochromatic
#1F0815 #4F1436 #802157 #B12E78 #D14B97

Accessibility & contrast

On white

9.24
#802157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#802157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802157
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802157#FFFFFF#000000##FFFFFF
##8021571.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D58
Deuteranopia (green-blind)
#4B4E55
Tritanopia (blue-blind)
#8A1C39
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802157;
/* rgb */ color: rgb(128, 33, 87);
/* oklch */ color: oklch(41.8% 0.140 350.0);
Tailwind
colors: {
  custom: {
    50: '#a96586',
    500: '#802157',
    950: '#000000',
  },
}
SCSS
$custom: #802157;
$custom-light: #a96586;
$custom-dark: #000000;
JSON
{
  "hex": "#802157",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 325.895,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41782,
    "c": 0.14022,
    "h": 350
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#802157
secondary
#4AB377
accent
#E28946
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802157

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

Preview Lab → · Contrast checker → · Palette generator →

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