#802D68#802D68

#802D68 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.134 H 340.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#802D68
RGBrgb(128, 45, 104)
HSLhsl(317, 48%, 34%)
HSVhsv(317, 65%, 50%)
CMYKcmyk(0%, 64.8%, 18.8%, 49.8%)
CIE-LABlab(32.85, 42.63, -16.45)
CIE-LCHlch(32.85, 45.70, 338.90°)
OKLaboklab(43.87% 0.1268 -0.0442)
OKLCHoklch(43.87% 0.134 340.8)
XYZxyz(12.3395, 7.4665, 13.8853)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D68 #2D8045
analogous
#6F2D80 #802D68 #802D3F
triadic
#802D68 #68802D #2D6880
tetradic
#802D68 #806F2D #2D8045 #2D3F80
square
#802D68 #806F2D #2D8045 #2D3F80
split-complementary
#802D68 #3F802D #2D806F
monochromatic
#250D1E #531D43 #802D68 #AD3D8D #C760A9

Accessibility & contrast

On white

8.42
#802D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D68
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D68#FFFFFF#000000##FFFFFF
##802D681.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456A
Deuteranopia (green-blind)
#4B5266
Tritanopia (blue-blind)
#882F46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802d68;
/* rgb */ color: rgb(128, 45, 104);
/* oklch */ color: oklch(43.9% 0.134 340.8);
Tailwind
colors: {
  custom: {
    50: '#a86c93',
    500: '#802d68',
    950: '#000000',
  },
}
SCSS
$custom: #802d68;
$custom-light: #a86c93;
$custom-dark: #000000;
JSON
{
  "hex": "#802d68",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 317.349,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43869,
    "c": 0.13426,
    "h": 340.8
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

primary
#802D68
secondary
#5BAE73
accent
#D87750
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802D68

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

Preview Lab → · Contrast checker → · Palette generator →

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