#802458#802458

#802458 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.137 H 349.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#802458
RGBrgb(128, 36, 88)
HSLhsl(326, 56%, 32%)
HSVhsv(326, 72%, 50%)
CMYKcmyk(0%, 71.9%, 31.3%, 49.8%)
CIE-LABlab(30.78, 44.20, -9.29)
CIE-LCHlch(30.78, 45.17, 348.13°)
OKLaboklab(42.13% 0.1347 -0.0242)
OKLCHoklch(42.13% 0.137 349.8)
XYZxyz(11.2950, 6.5568, 9.9014)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802458 #24804C
analogous
#7A2480 #802458 #80242A
triadic
#802458 #588024 #245880
tetradic
#802458 #807A24 #24804C #242A80
square
#802458 #807A24 #24804C #242A80
split-complementary
#802458 #2A8024 #24807A
monochromatic
#200916 #501737 #802458 #B03179 #CE5097

Accessibility & contrast

On white

9.09
#802458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#802458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802458
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802458#FFFFFF#000000##FFFFFF
##8024581.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E59
Deuteranopia (green-blind)
#4C4E56
Tritanopia (blue-blind)
#8A1F3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802458;
/* rgb */ color: rgb(128, 36, 88);
/* oklch */ color: oklch(42.1% 0.137 349.8);
Tailwind
colors: {
  custom: {
    50: '#a86787',
    500: '#802458',
    950: '#000000',
  },
}
SCSS
$custom: #802458;
$custom-light: #a86787;
$custom-dark: #000000;
JSON
{
  "hex": "#802458",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 326.087,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4213,
    "c": 0.13688,
    "h": 349.8
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#802458
secondary
#4EB279
accent
#DF8A48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802458

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

Preview Lab → · Contrast checker → · Palette generator →

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