#802442#802442

#802442 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.128 H 4.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#802442
RGBrgb(128, 36, 66)
HSLhsl(340, 56%, 32%)
HSVhsv(340, 72%, 50%)
CMYKcmyk(0%, 71.9%, 48.4%, 49.8%)
CIE-LABlab(30.02, 41.67, 4.08)
CIE-LCHlch(30.02, 41.86, 5.59°)
OKLaboklab(41.33% 0.1273 0.0109)
OKLCHoklch(41.33% 0.128 4.9)
XYZxyz(10.5172, 6.2456, 5.8049)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802442 #248062
analogous
#802470 #802442 #803424
triadic
#802442 #428024 #244280
tetradic
#802442 #708024 #248062 #342480
square
#802442 #708024 #248062 #342480
split-complementary
#802442 #248034 #247080
monochromatic
#200911 #501729 #802442 #B0315B #CE5079

Accessibility & contrast

On white

9.34
#802442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#802442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802442
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802442#FFFFFF#000000##FFFFFF
##8024421.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393B43
Deuteranopia (green-blind)
#514D40
Tritanopia (blue-blind)
#8B1530
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802442;
/* rgb */ color: rgb(128, 36, 66);
/* oklch */ color: oklch(41.3% 0.128 4.9);
Tailwind
colors: {
  custom: {
    50: '#a96676',
    500: '#802442',
    950: '#000000',
  },
}
SCSS
$custom: #802442;
$custom-light: #a96676;
$custom-dark: #000000;
JSON
{
  "hex": "#802442",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 66
  },
  "hsl": {
    "h": 340.435,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4133,
    "c": 0.12772,
    "h": 4.9
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#802442
secondary
#4EB291
accent
#DFAE48
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #802442

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

Preview Lab → · Contrast checker → · Palette generator →

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