#802140#802140

#802140 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.131 H 5.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#802140
RGBrgb(128, 33, 64)
HSLhsl(340, 59%, 32%)
HSVhsv(340, 74%, 50%)
CMYKcmyk(0%, 74.2%, 50%, 49.8%)
CIE-LABlab(29.53, 42.67, 4.71)
CIE-LCHlch(29.53, 42.93, 6.29°)
OKLaboklab(40.95% 0.1303 0.0124)
OKLCHoklch(40.95% 0.131 5.4)
XYZxyz(10.3722, 6.0484, 5.4708)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802140 #218061
analogous
#802170 #802140 #803221
triadic
#802140 #408021 #214080
tetradic
#802140 #708021 #218061 #322180
square
#802140 #708021 #218061 #322180
split-complementary
#802140 #218032 #217080
monochromatic
#1F080F #4F1428 #802140 #B12E58 #D14B76

Accessibility & contrast

On white

9.50
#802140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802140
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802140#FFFFFF#000000##FFFFFF
##8021401.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#8C0F2E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802140;
/* rgb */ color: rgb(128, 33, 64);
/* oklch */ color: oklch(40.9% 0.131 5.4);
Tailwind
colors: {
  custom: {
    50: '#aa6474',
    500: '#802140',
    950: '#000000',
  },
}
SCSS
$custom: #802140;
$custom-light: #aa6474;
$custom-dark: #000000;
JSON
{
  "hex": "#802140",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 340.421,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.1309,
    "h": 5.4
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#802140
secondary
#4AB391
accent
#E2AF46
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #802140

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

Preview Lab → · Contrast checker → · Palette generator →

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