#802971#802971

#802971 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.147 H 335.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#802971
RGBrgb(128, 41, 113)
HSLhsl(310, 51%, 33%)
HSVhsv(310, 68%, 50%)
CMYKcmyk(0%, 68%, 11.7%, 49.8%)
CIE-LABlab(32.63, 45.84, -22.51)
CIE-LCHlch(32.63, 51.07, 333.85°)
OKLaboklab(43.85% 0.1336 -0.0613)
OKLCHoklch(43.85% 0.147 335.4)
XYZxyz(12.6758, 7.3684, 16.3742)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802971 #298038
analogous
#632980 #802971 #802945
triadic
#802971 #718029 #297180
tetradic
#802971 #806329 #298038 #294580
square
#802971 #806329 #298038 #294580
split-complementary
#802971 #458029 #298063
monochromatic
#230B1F #521A48 #802971 #AE389A #CA59B7

Accessibility & contrast

On white

8.49
#802971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##802971#FFFFFF#000000##FFFFFF
##8029711.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)
#294473
Deuteranopia (green-blind)
#46516F
Tritanopia (blue-blind)
#862F49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802971;
/* rgb */ color: rgb(128, 41, 113);
/* oklch */ color: oklch(43.9% 0.147 335.4);
Tailwind
colors: {
  custom: {
    50: '#a86a9a',
    500: '#802971',
    950: '#000000',
  },
}
SCSS
$custom: #802971;
$custom-light: #a86a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#802971",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 310.345,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.14702,
    "h": 335.4
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#802971
secondary
#55AF65
accent
#DB654D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802971

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

Preview Lab → · Contrast checker → · Palette generator →

#802971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva