#802C68#802C68

#802C68 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.136 H 340.7°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#802C68
RGBrgb(128, 44, 104)
HSLhsl(317, 49%, 34%)
HSVhsv(317, 66%, 50%)
CMYKcmyk(0%, 65.6%, 18.8%, 49.8%)
CIE-LABlab(32.68, 43.09, -16.71)
CIE-LCHlch(32.68, 46.21, 338.81°)
OKLaboklab(43.75% 0.1281 -0.0449)
OKLCHoklch(43.75% 0.136 340.7)
XYZxyz(12.3018, 7.3911, 13.8728)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C68 #2C8044
analogous
#6E2C80 #802C68 #802C3E
triadic
#802C68 #68802C #2C6880
tetradic
#802C68 #806E2C #2C8044 #2C3E80
square
#802C68 #806E2C #2C8044 #2C3E80
split-complementary
#802C68 #3E802C #2C806E
monochromatic
#250D1E #521C43 #802C68 #AE3C8D #C85FAA

Accessibility & contrast

On white

8.47
#802C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#802C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C68
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C68#FFFFFF#000000##FFFFFF
##802C681.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31446A
Deuteranopia (green-blind)
#4A5266
Tritanopia (blue-blind)
#882E46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802c68;
/* rgb */ color: rgb(128, 44, 104);
/* oklch */ color: oklch(43.7% 0.136 340.7);
Tailwind
colors: {
  custom: {
    50: '#a86b93',
    500: '#802c68',
    950: '#000000',
  },
}
SCSS
$custom: #802c68;
$custom-light: #a86b93;
$custom-dark: #000000;
JSON
{
  "hex": "#802c68",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 104
  },
  "hsl": {
    "h": 317.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43748,
    "c": 0.13578,
    "h": 340.7
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#802C68
secondary
#5AAE72
accent
#D8774F
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #802C68

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

Preview Lab → · Contrast checker → · Palette generator →

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