#802E6B#802E6B

#802E6B is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.135 H 339.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#802E6B
RGBrgb(128, 46, 107)
HSLhsl(315, 47%, 34%)
HSVhsv(315, 64%, 50%)
CMYKcmyk(0%, 64.1%, 16.4%, 49.8%)
CIE-LABlab(33.15, 42.65, -17.90)
CIE-LCHlch(33.15, 46.25, 337.24°)
OKLaboklab(44.13% 0.126 -0.0483)
OKLCHoklch(44.13% 0.135 339)
XYZxyz(12.5332, 7.6058, 14.7150)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E6B #2E8043
analogous
#6C2E80 #802E6B #802E42
triadic
#802E6B #6B802E #2E6B80
tetradic
#802E6B #806C2E #2E8043 #2E4280
square
#802E6B #806C2E #2E8043 #2E4280
split-complementary
#802E6B #42802E #2E806C
monochromatic
#260E20 #531E45 #802E6B #AD3E91 #C762AD

Accessibility & contrast

On white

8.33
#802E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#802E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E6B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E6B#FFFFFF#000000##FFFFFF
##802E6B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#4A5369
Tritanopia (blue-blind)
#873148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802e6b;
/* rgb */ color: rgb(128, 46, 107);
/* oklch */ color: oklch(44.1% 0.135 339.0);
Tailwind
colors: {
  custom: {
    50: '#a76c95',
    500: '#802e6b',
    950: '#000000',
  },
}
SCSS
$custom: #802e6b;
$custom-light: #a76c95;
$custom-dark: #000000;
JSON
{
  "hex": "#802e6b",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 315.366,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.13495,
    "h": 339
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#802E6B
secondary
#5DAD71
accent
#D77351
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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