#802D70#802D70

#802D70 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.140 H 336.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#802D70
RGBrgb(128, 45, 112)
HSLhsl(312, 48%, 34%)
HSVhsv(312, 65%, 50%)
CMYKcmyk(0%, 64.8%, 12.5%, 49.8%)
CIE-LABlab(33.21, 43.92, -20.97)
CIE-LCHlch(33.21, 48.67, 334.48°)
OKLaboklab(44.26% 0.1283 -0.0569)
OKLCHoklch(44.26% 0.14 336.1)
XYZxyz(12.7652, 7.6369, 16.1278)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D70 #2D803D
analogous
#672D80 #802D70 #802D47
triadic
#802D70 #70802D #2D7080
tetradic
#802D70 #80672D #2D803D #2D4780
square
#802D70 #80672D #2D803D #2D4780
split-complementary
#802D70 #47802D #2D8067
monochromatic
#250D21 #531D48 #802D70 #AD3D98 #C760B3

Accessibility & contrast

On white

8.31
#802D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#802D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D70
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D70#FFFFFF#000000##FFFFFF
##802D701.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4672
Deuteranopia (green-blind)
#48536E
Tritanopia (blue-blind)
#86324A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802d70;
/* rgb */ color: rgb(128, 45, 112);
/* oklch */ color: oklch(44.3% 0.140 336.1);
Tailwind
colors: {
  custom: {
    50: '#a76c99',
    500: '#802d70',
    950: '#000000',
  },
}
SCSS
$custom: #802d70;
$custom-light: #a76c99;
$custom-dark: #000000;
JSON
{
  "hex": "#802d70",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 311.566,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.14038,
    "h": 336.1
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#802D70
secondary
#5BAE6B
accent
#D86A50
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802D70

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

Preview Lab → · Contrast checker → · Palette generator →

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