#802F70#802F70

#802F70 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.5% C 0.137 H 336.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#802F70
RGBrgb(128, 47, 112)
HSLhsl(312, 46%, 34%)
HSVhsv(312, 63%, 50%)
CMYKcmyk(0%, 63.3%, 12.5%, 49.8%)
CIE-LABlab(33.55, 43.01, -20.45)
CIE-LCHlch(33.55, 47.62, 334.57°)
OKLaboklab(44.5% 0.1256 -0.0555)
OKLCHoklch(44.5% 0.137 336.2)
XYZxyz(12.8434, 7.7931, 16.1539)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F70 #2F803F
analogous
#682F80 #802F70 #802F48
triadic
#802F70 #70802F #2F7080
tetradic
#802F70 #80682F #2F803F #2F4880
square
#802F70 #80682F #2F803F #2F4880
split-complementary
#802F70 #48802F #2F8068
monochromatic
#260E22 #531F49 #802F70 #AD3F97 #C663B2

Accessibility & contrast

On white

8.21
#802F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#802F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F70
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F70#FFFFFF#000000##FFFFFF
##802F701.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304772
Deuteranopia (green-blind)
#49536E
Tritanopia (blue-blind)
#86334B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802f70;
/* rgb */ color: rgb(128, 47, 112);
/* oklch */ color: oklch(44.5% 0.137 336.2);
Tailwind
colors: {
  custom: {
    50: '#a76d99',
    500: '#802f70',
    950: '#000000',
  },
}
SCSS
$custom: #802f70;
$custom-light: #a76d99;
$custom-dark: #000000;
JSON
{
  "hex": "#802f70",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 311.852,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44503,
    "c": 0.13732,
    "h": 336.2
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#802F70
secondary
#5EAD6E
accent
#D66C52
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #802F70

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

Preview Lab → · Contrast checker → · Palette generator →

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