#802A58#802A58

#802A58 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.8% C 0.128 H 350.8°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#802A58
RGBrgb(128, 42, 88)
HSLhsl(328, 51%, 33%)
HSVhsv(328, 67%, 50%)
CMYKcmyk(0%, 67.2%, 31.3%, 49.8%)
CIE-LABlab(31.69, 41.66, -7.90)
CIE-LCHlch(31.69, 42.40, 349.26°)
OKLaboklab(42.81% 0.1268 -0.0205)
OKLCHoklch(42.81% 0.128 350.8)
XYZxyz(11.4921, 6.9509, 9.9671)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A58 #2A8052
analogous
#7D2A80 #802A58 #802A2D
triadic
#802A58 #58802A #2A5880
tetradic
#802A58 #807D2A #2A8052 #2A2D80
square
#802A58 #807D2A #2A8052 #2A2D80
split-complementary
#802A58 #2D802A #2A807D
monochromatic
#240C19 #521B38 #802A58 #AE3978 #C95B96

Accessibility & contrast

On white

8.79
#802A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#802A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A58
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A58#FFFFFF#000000##FFFFFF
##802A581.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364159
Deuteranopia (green-blind)
#4E5056
Tritanopia (blue-blind)
#89263D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802a58;
/* rgb */ color: rgb(128, 42, 88);
/* oklch */ color: oklch(42.8% 0.128 350.8);
Tailwind
colors: {
  custom: {
    50: '#a86a87',
    500: '#802a58',
    950: '#000000',
  },
}
SCSS
$custom: #802a58;
$custom-light: #a86a87;
$custom-dark: #000000;
JSON
{
  "hex": "#802a58",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 88
  },
  "hsl": {
    "h": 327.907,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42806,
    "c": 0.12845,
    "h": 350.8
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#802A58
secondary
#57AF80
accent
#DA8F4E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #802A58

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

Preview Lab → · Contrast checker → · Palette generator →

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