#802259#802259

#802259 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.140 H 348.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#802259
RGBrgb(128, 34, 89)
HSLhsl(325, 58%, 32%)
HSVhsv(325, 73%, 50%)
CMYKcmyk(0%, 73.4%, 30.5%, 49.8%)
CIE-LABlab(30.53, 45.12, -10.31)
CIE-LCHlch(30.53, 46.28, 347.13°)
OKLaboklab(41.97% 0.1374 -0.027)
OKLCHoklch(41.97% 0.14 348.9)
XYZxyz(11.2778, 6.4558, 10.1014)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802259 #228049
analogous
#782280 #802259 #80222A
triadic
#802259 #598022 #225980
tetradic
#802259 #807822 #228049 #222A80
square
#802259 #807822 #228049 #222A80
split-complementary
#802259 #2A8022 #228078
monochromatic
#1F0816 #501537 #802259 #B02F7B #D04D99

Accessibility & contrast

On white

9.17
#802259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#802259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802259
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802259#FFFFFF#000000##FFFFFF
##8022591.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D5B
Deuteranopia (green-blind)
#4B4E57
Tritanopia (blue-blind)
#891E3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802259;
/* rgb */ color: rgb(128, 34, 89);
/* oklch */ color: oklch(42.0% 0.140 348.9);
Tailwind
colors: {
  custom: {
    50: '#a86688',
    500: '#802259',
    950: '#000000',
  },
}
SCSS
$custom: #802259;
$custom-light: #a86688;
$custom-dark: #000000;
JSON
{
  "hex": "#802259",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 324.894,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.14006,
    "h": 348.9
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#802259
secondary
#4BB276
accent
#E18747
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802259

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

Preview Lab → · Contrast checker → · Palette generator →

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