#802152#802152

#802152 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.138 H 353.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#802152
RGBrgb(128, 33, 82)
HSLhsl(329, 59%, 32%)
HSVhsv(329, 74%, 50%)
CMYKcmyk(0%, 74.2%, 35.9%, 49.8%)
CIE-LABlab(30.13, 44.62, -6.34)
CIE-LCHlch(30.13, 45.07, 351.91°)
OKLaboklab(41.58% 0.1366 -0.0162)
OKLCHoklch(41.58% 0.138 353.2)
XYZxyz(10.9696, 6.2874, 8.6169)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802152 #21804F
analogous
#7F2180 #802152 #802122
triadic
#802152 #528021 #215280
tetradic
#802152 #807F21 #21804F #212280
square
#802152 #807F21 #21804F #212280
split-complementary
#802152 #228021 #21807F
monochromatic
#1F0814 #4F1433 #802152 #B12E71 #D14B90

Accessibility & contrast

On white

9.30
#802152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#802152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802152
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802152#FFFFFF#000000##FFFFFF
##8021521.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#8A1936
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802152;
/* rgb */ color: rgb(128, 33, 82);
/* oklch */ color: oklch(41.6% 0.138 353.2);
Tailwind
colors: {
  custom: {
    50: '#a96582',
    500: '#802152',
    950: '#000000',
  },
}
SCSS
$custom: #802152;
$custom-light: #a96582;
$custom-dark: #000000;
JSON
{
  "hex": "#802152",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 329.053,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.1376,
    "h": 353.2
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#802152
secondary
#4AB37D
accent
#E29146
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #802152

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

Preview Lab → · Contrast checker → · Palette generator →

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