#802156#802156

#802156 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.140 H 350.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#802156
RGBrgb(128, 33, 86)
HSLhsl(327, 59%, 32%)
HSVhsv(327, 74%, 50%)
CMYKcmyk(0%, 74.2%, 32.8%, 49.8%)
CIE-LABlab(30.28, 45.11, -8.73)
CIE-LCHlch(30.28, 45.95, 349.04°)
OKLaboklab(41.74% 0.1378 -0.0227)
OKLCHoklch(41.74% 0.14 350.6)
XYZxyz(11.1263, 6.3501, 9.4420)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802156 #21804B
analogous
#7B2180 #802156 #802127
triadic
#802156 #568021 #215680
tetradic
#802156 #807B21 #21804B #212780
square
#802156 #807B21 #21804B #212780
split-complementary
#802156 #278021 #21807B
monochromatic
#1F0815 #4F1435 #802156 #B12E77 #D14B95

Accessibility & contrast

On white

9.25
#802156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802156
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802156#FFFFFF#000000##FFFFFF
##8021561.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303C57
Deuteranopia (green-blind)
#4B4D54
Tritanopia (blue-blind)
#8A1B38
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802156;
/* rgb */ color: rgb(128, 33, 86);
/* oklch */ color: oklch(41.7% 0.140 350.6);
Tailwind
colors: {
  custom: {
    50: '#a96585',
    500: '#802156',
    950: '#000000',
  },
}
SCSS
$custom: #802156;
$custom-light: #a96585;
$custom-dark: #000000;
JSON
{
  "hex": "#802156",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 326.526,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4174,
    "c": 0.13967,
    "h": 350.6
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#802156
secondary
#4AB378
accent
#E28B46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802156

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

Preview Lab → · Contrast checker → · Palette generator →

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