#802170#802170

#802170 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.157 H 335.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#802170
RGBrgb(128, 33, 112)
HSLhsl(310, 59%, 32%)
HSVhsv(310, 74%, 50%)
CMYKcmyk(0%, 74.2%, 12.5%, 49.8%)
CIE-LABlab(31.46, 48.83, -23.71)
CIE-LCHlch(31.46, 54.28, 334.10°)
OKLaboklab(42.98% 0.1428 -0.0647)
OKLCHoklch(42.98% 0.157 335.6)
XYZxyz(12.3707, 6.8479, 15.9963)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802170 #218031
analogous
#612180 #802170 #802141
triadic
#802170 #708021 #217080
tetradic
#802170 #806121 #218031 #214180
square
#802170 #806121 #218031 #214180
split-complementary
#802170 #418021 #218061
monochromatic
#1F081B #4F1445 #802170 #B12E9B #D14BBA

Accessibility & contrast

On white

8.86
#802170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#802170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802170
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802170#FFFFFF#000000##FFFFFF
##8021701.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224172
Deuteranopia (green-blind)
#434F6E
Tritanopia (blue-blind)
#872846
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802170;
/* rgb */ color: rgb(128, 33, 112);
/* oklch */ color: oklch(43.0% 0.157 335.6);
Tailwind
colors: {
  custom: {
    50: '#a86699',
    500: '#802170',
    950: '#000000',
  },
}
SCSS
$custom: #802170;
$custom-light: #a86699;
$custom-dark: #000000;
JSON
{
  "hex": "#802170",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 310.105,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42983,
    "c": 0.15679,
    "h": 335.6
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#802170
secondary
#4AB35C
accent
#E26046
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802170

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

Preview Lab → · Contrast checker → · Palette generator →

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