#5A0E4D#5A0E4D

#5A0E4D is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.9% C 0.129 H 336.3°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#5A0E4D
RGBrgb(90, 14, 77)
HSLhsl(310, 73%, 20%)
HSVhsv(310, 84%, 35%)
CMYKcmyk(0%, 84.4%, 14.4%, 64.7%)
CIE-LABlab(20.14, 40.08, -18.95)
CIE-LCHlch(20.14, 44.34, 334.70°)
OKLaboklab(32.87% 0.1179 -0.0517)
OKLCHoklch(32.87% 0.129 336.3)
XYZxyz(5.7131, 3.0241, 7.3026)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E4D #0E5A1B
analogous
#410E5A #5A0E4D #5A0E27
triadic
#5A0E4D #4D5A0E #0E4D5A
tetradic
#5A0E4D #5A410E #0E5A1B #0E275A
square
#5A0E4D #5A410E #0E5A1B #0E275A
split-complementary
#5A0E4D #275A0E #0E5A41
monochromatic
#1A0417 #250620 #5A0E4D #8F167A #C41EA8

Accessibility & contrast

On white

13.09
#5A0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A0E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0E4D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E4D#FFFFFF#000000##FFFFFF
##5A0E4D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294F
Deuteranopia (green-blind)
#2B354B
Tritanopia (blue-blind)
#5F142D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a0e4d;
/* rgb */ color: rgb(90, 14, 77);
/* oklch */ color: oklch(32.9% 0.129 336.3);
Tailwind
colors: {
  custom: {
    50: '#8c577f',
    500: '#5a0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e4d;
$custom-light: #8c577f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e4d",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 310.263,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32867,
    "c": 0.1287,
    "h": 336.3
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#5A0E4D
secondary
#309441
accent
#F05738
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5A0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#5A0E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva