#802E6F#802E6F

#802E6F is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.3% C 0.138 H 336.7°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#802E6F
RGBrgb(128, 46, 111)
HSLhsl(312, 47%, 34%)
HSVhsv(312, 64%, 50%)
CMYKcmyk(0%, 64.1%, 13.3%, 49.8%)
CIE-LABlab(33.33, 43.30, -20.15)
CIE-LCHlch(33.33, 47.76, 335.05°)
OKLaboklab(44.33% 0.1268 -0.0546)
OKLCHoklch(44.33% 0.138 336.7)
XYZxyz(12.7485, 7.6919, 15.8491)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E6F #2E803F
analogous
#682E80 #802E6F #802E46
triadic
#802E6F #6F802E #2E6F80
tetradic
#802E6F #80682E #2E803F #2E4680
square
#802E6F #80682E #2E803F #2E4680
split-complementary
#802E6F #46802E #2E8068
monochromatic
#260E21 #531E48 #802E6F #AD3E96 #C762B2

Accessibility & contrast

On white

8.27
#802E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#802E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E6F
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E6F#FFFFFF#000000##FFFFFF
##802E6F1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304671
Deuteranopia (green-blind)
#49536D
Tritanopia (blue-blind)
#87324A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802e6f;
/* rgb */ color: rgb(128, 46, 111);
/* oklch */ color: oklch(44.3% 0.138 336.7);
Tailwind
colors: {
  custom: {
    50: '#a76c98',
    500: '#802e6f',
    950: '#000000',
  },
}
SCSS
$custom: #802e6f;
$custom-light: #a76c98;
$custom-dark: #000000;
JSON
{
  "hex": "#802e6f",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 312.439,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.13806,
    "h": 336.7
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#802E6F
secondary
#5DAD6D
accent
#D76D51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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