#802B6D#802B6D

#802B6D is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.141 H 337.7°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#802B6D
RGBrgb(128, 43, 109)
HSLhsl(313, 50%, 34%)
HSVhsv(313, 66%, 50%)
CMYKcmyk(0%, 66.4%, 14.8%, 49.8%)
CIE-LABlab(32.75, 44.32, -19.79)
CIE-LCHlch(32.75, 48.54, 335.94°)
OKLaboklab(43.87% 0.1304 -0.0536)
OKLCHoklch(43.87% 0.141 337.7)
XYZxyz(12.5265, 7.4222, 15.2379)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B6D #2B803E
analogous
#682B80 #802B6D #802B42
triadic
#802B6D #6D802B #2B6D80
tetradic
#802B6D #80682B #2B803E #2B4280
square
#802B6D #80682B #2B803E #2B4280
split-complementary
#802B6D #42802B #2B8068
monochromatic
#240C1F #521C46 #802B6D #AE3A94 #C95DB0

Accessibility & contrast

On white

8.45
#802B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802B6D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B6D#FFFFFF#000000##FFFFFF
##802B6D1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E456F
Deuteranopia (green-blind)
#48526B
Tritanopia (blue-blind)
#872F48
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802b6d;
/* rgb */ color: rgb(128, 43, 109);
/* oklch */ color: oklch(43.9% 0.141 337.7);
Tailwind
colors: {
  custom: {
    50: '#a86b97',
    500: '#802b6d',
    950: '#000000',
  },
}
SCSS
$custom: #802b6d;
$custom-light: #a86b97;
$custom-dark: #000000;
JSON
{
  "hex": "#802b6d",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 313.412,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.14102,
    "h": 337.7
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#802B6D
secondary
#58AE6C
accent
#D96E4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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