#802E5F#802E5F

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

Color values

HEX#802E5F
RGBrgb(128, 46, 95)
HSLhsl(324, 47%, 34%)
HSVhsv(324, 64%, 50%)
CMYKcmyk(0%, 64.1%, 25.8%, 49.8%)
CIE-LABlab(32.64, 40.81, -11.00)
CIE-LCHlch(32.64, 42.27, 344.91°)
OKLaboklab(43.59% 0.1232 -0.029)
OKLCHoklch(43.59% 0.127 346.7)
XYZxyz(11.9451, 7.3706, 11.6178)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E5F #2E804F
analogous
#782E80 #802E5F #802E36
triadic
#802E5F #5F802E #2E5F80
tetradic
#802E5F #80782E #2E804F #2E3680
square
#802E5F #80782E #2E804F #2E3680
split-complementary
#802E5F #36802E #2E8078
monochromatic
#260E1C #531E3E #802E5F #AD3E80 #C7629E

Accessibility & contrast

On white

8.49
#802E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E5F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E5F#FFFFFF#000000##FFFFFF
##802E5F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374460
Deuteranopia (green-blind)
#4E525D
Tritanopia (blue-blind)
#892C42
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802e5f;
/* rgb */ color: rgb(128, 46, 95);
/* oklch */ color: oklch(43.6% 0.127 346.7);
Tailwind
colors: {
  custom: {
    50: '#a86c8c',
    500: '#802e5f',
    950: '#000000',
  },
}
SCSS
$custom: #802e5f;
$custom-light: #a86c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#802e5f",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 324.146,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4359,
    "c": 0.12655,
    "h": 346.7
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#802E5F
secondary
#5DAD7D
accent
#D78751
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #802E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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