#802162#802162

#802162 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.147 H 343.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#802162
RGBrgb(128, 33, 98)
HSLhsl(319, 59%, 32%)
HSVhsv(319, 74%, 50%)
CMYKcmyk(0%, 74.2%, 23.4%, 49.8%)
CIE-LABlab(30.78, 46.73, -15.77)
CIE-LCHlch(30.78, 49.32, 341.35°)
OKLaboklab(42.27% 0.1407 -0.0422)
OKLCHoklch(42.27% 0.147 343.3)
XYZxyz(11.6510, 6.5599, 12.2055)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802162 #21803F
analogous
#6F2180 #802162 #802133
triadic
#802162 #628021 #216280
tetradic
#802162 #806F21 #21803F #213380
square
#802162 #806F21 #21803F #213380
split-complementary
#802162 #338021 #21806F
monochromatic
#1F0817 #4F143D #802162 #B12E87 #D14BA6

Accessibility & contrast

On white

9.08
#802162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#802162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802162
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802162#FFFFFF#000000##FFFFFF
##8021621.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3E64
Deuteranopia (green-blind)
#484E60
Tritanopia (blue-blind)
#88213E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802162;
/* rgb */ color: rgb(128, 33, 98);
/* oklch */ color: oklch(42.3% 0.147 343.3);
Tailwind
colors: {
  custom: {
    50: '#a8668e',
    500: '#802162',
    950: '#000000',
  },
}
SCSS
$custom: #802162;
$custom-light: #a8668e;
$custom-dark: #000000;
JSON
{
  "hex": "#802162",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 318.947,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42273,
    "c": 0.14687,
    "h": 343.3
  },
  "luminance": 0.06559
}

Semantic roles & 50–950 ramp

primary
#802162
secondary
#4AB36B
accent
#E27746
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #802162

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

Preview Lab → · Contrast checker → · Palette generator →

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