#802058#802058

#802058 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.142 H 349.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#802058
RGBrgb(128, 32, 88)
HSLhsl(325, 60%, 31%)
HSVhsv(325, 75%, 50%)
CMYKcmyk(0%, 75%, 31.3%, 49.8%)
CIE-LABlab(30.23, 45.74, -10.12)
CIE-LCHlch(30.23, 46.85, 347.52°)
OKLaboklab(41.73% 0.1395 -0.0265)
OKLCHoklch(41.73% 0.142 349.2)
XYZxyz(11.1806, 6.3281, 9.8633)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802058 #208048
analogous
#782080 #802058 #802028
triadic
#802058 #588020 #205880
tetradic
#802058 #807820 #208048 #202880
square
#802058 #807820 #208048 #202880
split-complementary
#802058 #288020 #208078
monochromatic
#1E0815 #4F1436 #802058 #B12C7A #D14999

Accessibility & contrast

On white

9.27
#802058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#802058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802058
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802058#FFFFFF#000000##FFFFFF
##8020581.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C5A
Deuteranopia (green-blind)
#4B4D56
Tritanopia (blue-blind)
#8A1B39
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802058;
/* rgb */ color: rgb(128, 32, 88);
/* oklch */ color: oklch(41.7% 0.142 349.2);
Tailwind
colors: {
  custom: {
    50: '#a96587',
    500: '#802058',
    950: '#000000',
  },
}
SCSS
$custom: #802058;
$custom-light: #a96587;
$custom-dark: #000000;
JSON
{
  "hex": "#802058",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 325,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.14201,
    "h": 349.2
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#802058
secondary
#49B375
accent
#E38745
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #802058

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

Preview Lab → · Contrast checker → · Palette generator →

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