#802870#802870

#802870 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.148 H 335.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#802870
RGBrgb(128, 40, 112)
HSLhsl(311, 52%, 33%)
HSVhsv(311, 69%, 50%)
CMYKcmyk(0%, 68.8%, 12.5%, 49.8%)
CIE-LABlab(32.43, 46.10, -22.19)
CIE-LCHlch(32.43, 51.16, 334.30°)
OKLaboklab(43.69% 0.1347 -0.0604)
OKLCHoklch(43.69% 0.148 335.9)
XYZxyz(12.5857, 7.2777, 16.0680)
Luminance0.0728 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802870 #288038
analogous
#642880 #802870 #802844
triadic
#802870 #708028 #287080
tetradic
#802870 #806428 #288038 #284480
square
#802870 #806428 #288038 #284480
split-complementary
#802870 #448028 #288064
monochromatic
#230B1E #511947 #802870 #AF3799 #CB58B6

Accessibility & contrast

On white

8.55
#802870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#802870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802870
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802870#FFFFFF#000000##FFFFFF
##8028701.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294472
Deuteranopia (green-blind)
#46516E
Tritanopia (blue-blind)
#872D48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #802870;
/* rgb */ color: rgb(128, 40, 112);
/* oklch */ color: oklch(43.7% 0.148 335.9);
Tailwind
colors: {
  custom: {
    50: '#a86999',
    500: '#802870',
    950: '#000000',
  },
}
SCSS
$custom: #802870;
$custom-light: #a86999;
$custom-dark: #000000;
JSON
{
  "hex": "#802870",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 310.909,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43688,
    "c": 0.14764,
    "h": 335.9
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#802870
secondary
#54B065
accent
#DC664C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802870

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

Preview Lab → · Contrast checker → · Palette generator →

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