#802164#802164

#802164 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.148 H 342.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#802164
RGBrgb(128, 33, 100)
HSLhsl(318, 59%, 32%)
HSVhsv(318, 74%, 50%)
CMYKcmyk(0%, 74.2%, 21.9%, 49.8%)
CIE-LABlab(30.87, 47.01, -16.92)
CIE-LCHlch(30.87, 49.96, 340.20°)
OKLaboklab(42.37% 0.1411 -0.0454)
OKLCHoklch(42.37% 0.148 342.2)
XYZxyz(11.7466, 6.5982, 12.7091)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802164 #21803D
analogous
#6D2180 #802164 #802135
triadic
#802164 #648021 #216480
tetradic
#802164 #806D21 #21803D #213580
square
#802164 #806D21 #21803D #213580
split-complementary
#802164 #358021 #21806D
monochromatic
#1F0818 #4F143E #802164 #B12E8A #D14BA9

Accessibility & contrast

On white

9.05
#802164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#802164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802164
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802164#FFFFFF#000000##FFFFFF
##8021641.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3F66
Deuteranopia (green-blind)
#474E62
Tritanopia (blue-blind)
#88223F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802164;
/* rgb */ color: rgb(128, 33, 100);
/* oklch */ color: oklch(42.4% 0.148 342.2);
Tailwind
colors: {
  custom: {
    50: '#a86690',
    500: '#802164',
    950: '#000000',
  },
}
SCSS
$custom: #802164;
$custom-light: #a86690;
$custom-dark: #000000;
JSON
{
  "hex": "#802164",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 317.684,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42369,
    "c": 0.14821,
    "h": 342.2
  },
  "luminance": 0.06597
}

Semantic roles & 50–950 ramp

primary
#802164
secondary
#4AB369
accent
#E27446
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #802164

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

Preview Lab → · Contrast checker → · Palette generator →

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