#802F6B#802F6B

#802F6B is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.3% C 0.133 H 339.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#802F6B
RGBrgb(128, 47, 107)
HSLhsl(316, 46%, 34%)
HSVhsv(316, 63%, 50%)
CMYKcmyk(0%, 63.3%, 16.4%, 49.8%)
CIE-LABlab(33.32, 42.19, -17.64)
CIE-LCHlch(33.32, 45.72, 337.31°)
OKLaboklab(44.26% 0.1247 -0.0475)
OKLCHoklch(44.26% 0.133 339.1)
XYZxyz(12.5727, 7.6848, 14.7282)
Luminance0.0768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F6B #2F8044
analogous
#6D2F80 #802F6B #802F42
triadic
#802F6B #6B802F #2F6B80
tetradic
#802F6B #806D2F #2F8044 #2F4280
square
#802F6B #806D2F #2F8044 #2F4280
split-complementary
#802F6B #42802F #2F806D
monochromatic
#260E20 #531F46 #802F6B #AD3F90 #C663AC

Accessibility & contrast

On white

8.28
#802F6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#802F6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F6B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F6B#FFFFFF#000000##FFFFFF
##802F6B1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466D
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#873148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802f6b;
/* rgb */ color: rgb(128, 47, 107);
/* oklch */ color: oklch(44.3% 0.133 339.1);
Tailwind
colors: {
  custom: {
    50: '#a76d95',
    500: '#802f6b',
    950: '#000000',
  },
}
SCSS
$custom: #802f6b;
$custom-light: #a76d95;
$custom-dark: #000000;
JSON
{
  "hex": "#802f6b",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 315.556,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.1334,
    "h": 339.1
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#802F6B
secondary
#5EAD72
accent
#D67452
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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