#802548#802548

#802548 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.128 H 0.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#802548
RGBrgb(128, 37, 72)
HSLhsl(337, 55%, 32%)
HSVhsv(337, 71%, 50%)
CMYKcmyk(0%, 71.1%, 43.8%, 49.8%)
CIE-LABlab(30.36, 41.88, 0.59)
CIE-LCHlch(30.36, 41.88, 0.80°)
OKLaboklab(41.63% 0.1282 0.002)
OKLCHoklch(41.63% 0.128 0.9)
XYZxyz(10.7341, 6.3815, 6.7961)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802548 #25805D
analogous
#802576 #802548 #802F25
triadic
#802548 #488025 #254880
tetradic
#802548 #768025 #25805D #2F2580
square
#802548 #768025 #25805D #2F2580
split-complementary
#802548 #25802F #257680
monochromatic
#210A13 #51172D #802548 #AF3363 #CD5282

Accessibility & contrast

On white

9.23
#802548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#802548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802548
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802548#FFFFFF#000000##FFFFFF
##8025481.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C49
Deuteranopia (green-blind)
#504E46
Tritanopia (blue-blind)
#8B1933
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802548;
/* rgb */ color: rgb(128, 37, 72);
/* oklch */ color: oklch(41.6% 0.128 0.9);
Tailwind
colors: {
  custom: {
    50: '#a9677a',
    500: '#802548',
    950: '#000000',
  },
}
SCSS
$custom: #802548;
$custom-light: #a9677a;
$custom-dark: #000000;
JSON
{
  "hex": "#802548",
  "rgb": {
    "r": 128,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 336.923,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41634,
    "c": 0.12825,
    "h": 0.9
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#802548
secondary
#50B18C
accent
#DEA549
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #802548

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

Preview Lab → · Contrast checker → · Palette generator →

#802548 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva