#802142#802142

#802142 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.131 H 4.1°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#802142
RGBrgb(128, 33, 66)
HSLhsl(339, 59%, 32%)
HSVhsv(339, 74%, 50%)
CMYKcmyk(0%, 74.2%, 48.4%, 49.8%)
CIE-LABlab(29.59, 42.86, 3.46)
CIE-LCHlch(29.59, 43.00, 4.61°)
OKLaboklab(41.01% 0.1311 0.0093)
OKLCHoklch(41.01% 0.131 4.1)
XYZxyz(10.4302, 6.0716, 5.7759)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802142 #21805F
analogous
#802172 #802142 #803021
triadic
#802142 #428021 #214280
tetradic
#802142 #728021 #21805F #302180
square
#802142 #728021 #21805F #302180
split-complementary
#802142 #218030 #217280
monochromatic
#1F0810 #4F1429 #802142 #B12E5B #D14B79

Accessibility & contrast

On white

9.49
#802142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#802142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802142
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802142#FFFFFF#000000##FFFFFF
##8021421.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#504D40
Tritanopia (blue-blind)
#8B102F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802142;
/* rgb */ color: rgb(128, 33, 66);
/* oklch */ color: oklch(41.0% 0.131 4.1);
Tailwind
colors: {
  custom: {
    50: '#aa6576',
    500: '#802142',
    950: '#000000',
  },
}
SCSS
$custom: #802142;
$custom-light: #aa6576;
$custom-dark: #000000;
JSON
{
  "hex": "#802142",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 339.158,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.13142,
    "h": 4.1
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#802142
secondary
#4AB38E
accent
#E2AC46
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #802142

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

Preview Lab → · Contrast checker → · Palette generator →

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