#802F5B#802F5B

#802F5B is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.6% C 0.123 H 349.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#802F5B
RGBrgb(128, 47, 91)
HSLhsl(327, 46%, 34%)
HSVhsv(327, 63%, 50%)
CMYKcmyk(0%, 63.3%, 28.9%, 49.8%)
CIE-LABlab(32.65, 39.77, -8.40)
CIE-LCHlch(32.65, 40.65, 348.07°)
OKLaboklab(43.55% 0.1206 -0.0219)
OKLCHoklch(43.55% 0.123 349.7)
XYZxyz(11.8074, 7.3787, 10.6979)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F5B #2F8054
analogous
#7D2F80 #802F5B #802F33
triadic
#802F5B #5B802F #2F5B80
tetradic
#802F5B #807D2F #2F8054 #2F3380
square
#802F5B #807D2F #2F8054 #2F3380
split-complementary
#802F5B #33802F #2F807D
monochromatic
#260E1B #531F3B #802F5B #AD3F7B #C66399

Accessibility & contrast

On white

8.48
#802F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#802F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F5B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F5B#FFFFFF#000000##FFFFFF
##802F5B1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39445C
Deuteranopia (green-blind)
#505259
Tritanopia (blue-blind)
#892C41
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802f5b;
/* rgb */ color: rgb(128, 47, 91);
/* oklch */ color: oklch(43.6% 0.123 349.7);
Tailwind
colors: {
  custom: {
    50: '#a86c89',
    500: '#802f5b',
    950: '#000000',
  },
}
SCSS
$custom: #802f5b;
$custom-light: #a86c89;
$custom-dark: #000000;
JSON
{
  "hex": "#802f5b",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 327.407,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.12254,
    "h": 349.7
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#802F5B
secondary
#5EAD82
accent
#D68E52
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #802F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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