#802A42#802A42

#802A42 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 42.0% C 0.120 H 6.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#802A42
RGBrgb(128, 42, 66)
HSLhsl(343, 51%, 33%)
HSVhsv(343, 67%, 50%)
CMYKcmyk(0%, 67.2%, 48.4%, 49.8%)
CIE-LABlab(30.97, 39.07, 5.43)
CIE-LCHlch(30.97, 39.44, 7.91°)
OKLaboklab(42.03% 0.119 0.0143)
OKLCHoklch(42.03% 0.12 6.8)
XYZxyz(10.7142, 6.6398, 5.8706)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A42 #2A8068
analogous
#802A6D #802A42 #803D2A
triadic
#802A42 #42802A #2A4280
tetradic
#802A42 #6D802A #2A8068 #3D2A80
square
#802A42 #6D802A #2A8068 #3D2A80
split-complementary
#802A42 #2A803D #2A6D80
monochromatic
#240C12 #521B2A #802A42 #AE395A #C95B7A

Accessibility & contrast

On white

9.02
#802A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#802A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A42
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A42#FFFFFF#000000##FFFFFF
##802A421.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3E43
Deuteranopia (green-blind)
#534F40
Tritanopia (blue-blind)
#8B1E33
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802a42;
/* rgb */ color: rgb(128, 42, 66);
/* oklch */ color: oklch(42.0% 0.120 6.8);
Tailwind
colors: {
  custom: {
    50: '#a96976',
    500: '#802a42',
    950: '#000000',
  },
}
SCSS
$custom: #802a42;
$custom-light: #a96976;
$custom-dark: #000000;
JSON
{
  "hex": "#802a42",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 343.256,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42034,
    "c": 0.11984,
    "h": 6.8
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#802A42
secondary
#57AF96
accent
#DAB34E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #802A42

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

Preview Lab → · Contrast checker → · Palette generator →

#802A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva