#5A0E4C#5A0E4C

#5A0E4C is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.8% C 0.128 H 337.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#5A0E4C
RGBrgb(90, 14, 76)
HSLhsl(311, 73%, 20%)
HSVhsv(311, 84%, 35%)
CMYKcmyk(0%, 84.4%, 15.6%, 64.7%)
CIE-LABlab(20.08, 39.92, -18.35)
CIE-LCHlch(20.08, 43.94, 335.31°)
OKLaboklab(32.81% 0.1178 -0.05)
OKLCHoklch(32.81% 0.128 337)
XYZxyz(5.6781, 3.0101, 7.1180)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E4C #0E5A1C
analogous
#420E5A #5A0E4C #5A0E26
triadic
#5A0E4C #4C5A0E #0E4C5A
tetradic
#5A0E4C #5A420E #0E5A1C #0E265A
square
#5A0E4C #5A420E #0E5A1C #0E265A
split-complementary
#5A0E4C #265A0E #0E5A42
monochromatic
#1A0416 #25061F #5A0E4C #8F1679 #C41EA5

Accessibility & contrast

On white

13.11
#5A0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E4C
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E4C#FFFFFF#000000##FFFFFF
##5A0E4C1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294E
Deuteranopia (green-blind)
#2C354A
Tritanopia (blue-blind)
#5F132C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a0e4c;
/* rgb */ color: rgb(90, 14, 76);
/* oklch */ color: oklch(32.8% 0.128 337.0);
Tailwind
colors: {
  custom: {
    50: '#8c577e',
    500: '#5a0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e4c;
$custom-light: #8c577e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e4c",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 311.053,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32809,
    "c": 0.12794,
    "h": 337
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#5A0E4C
secondary
#309442
accent
#F05A38
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5A0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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