#802A6C#802A6C

#802A6C is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.142 H 338.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#802A6C
RGBrgb(128, 42, 108)
HSLhsl(314, 51%, 33%)
HSVhsv(314, 67%, 50%)
CMYKcmyk(0%, 67.2%, 15.6%, 49.8%)
CIE-LABlab(32.54, 44.60, -19.47)
CIE-LCHlch(32.54, 48.66, 336.42°)
OKLaboklab(43.71% 0.1316 -0.0527)
OKLCHoklch(43.71% 0.142 338.2)
XYZxyz(12.4371, 7.3289, 14.9441)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A6C #2A803E
analogous
#692A80 #802A6C #802A41
triadic
#802A6C #6C802A #2A6C80
tetradic
#802A6C #80692A #2A803E #2A4180
square
#802A6C #80692A #2A803E #2A4180
split-complementary
#802A6C #41802A #2A8069
monochromatic
#240C1E #521B45 #802A6C #AE3993 #C95BB0

Accessibility & contrast

On white

8.52
#802A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#802A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A6C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A6C#FFFFFF#000000##FFFFFF
##802A6C1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446E
Deuteranopia (green-blind)
#48516A
Tritanopia (blue-blind)
#872D47
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802a6c;
/* rgb */ color: rgb(128, 42, 108);
/* oklch */ color: oklch(43.7% 0.142 338.2);
Tailwind
colors: {
  custom: {
    50: '#a86a96',
    500: '#802a6c',
    950: '#000000',
  },
}
SCSS
$custom: #802a6c;
$custom-light: #a86a96;
$custom-dark: #000000;
JSON
{
  "hex": "#802a6c",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 313.953,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43707,
    "c": 0.14172,
    "h": 338.2
  },
  "luminance": 0.07328
}

Semantic roles & 50–950 ramp

primary
#802A6C
secondary
#57AF6B
accent
#DA6E4E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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