#802F5F#802F5F

#802F5F is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.125 H 346.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#802F5F
RGBrgb(128, 47, 95)
HSLhsl(324, 46%, 34%)
HSVhsv(324, 63%, 50%)
CMYKcmyk(0%, 63.3%, 25.8%, 49.8%)
CIE-LABlab(32.81, 40.34, -10.74)
CIE-LCHlch(32.81, 41.75, 345.09°)
OKLaboklab(43.72% 0.1217 -0.0283)
OKLCHoklch(43.72% 0.125 346.9)
XYZxyz(11.9846, 7.4496, 11.6310)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F5F #2F8050
analogous
#792F80 #802F5F #802F37
triadic
#802F5F #5F802F #2F5F80
tetradic
#802F5F #80792F #2F8050 #2F3780
square
#802F5F #80792F #2F8050 #2F3780
split-complementary
#802F5F #37802F #2F8079
monochromatic
#260E1D #531F3E #802F5F #AD3F80 #C6639E

Accessibility & contrast

On white

8.44
#802F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F5F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F5F#FFFFFF#000000##FFFFFF
##802F5F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384460
Deuteranopia (green-blind)
#4F525D
Tritanopia (blue-blind)
#892D43
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802f5f;
/* rgb */ color: rgb(128, 47, 95);
/* oklch */ color: oklch(43.7% 0.125 346.9);
Tailwind
colors: {
  custom: {
    50: '#a86d8c',
    500: '#802f5f',
    950: '#000000',
  },
}
SCSS
$custom: #802f5f;
$custom-light: #a86d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#802f5f",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 324.444,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43717,
    "c": 0.12498,
    "h": 346.9
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#802F5F
secondary
#5EAD7E
accent
#D68852
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #802F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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