#5A0E4B#5A0E4B

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

Color values

HEX#5A0E4B
RGBrgb(90, 14, 75)
HSLhsl(312, 73%, 20%)
HSVhsv(312, 84%, 35%)
CMYKcmyk(0%, 84.4%, 16.7%, 64.7%)
CIE-LABlab(20.03, 39.77, -17.76)
CIE-LCHlch(20.03, 43.55, 335.94°)
OKLaboklab(32.75% 0.1177 -0.0483)
OKLCHoklch(32.75% 0.127 337.7)
XYZxyz(5.6436, 2.9963, 6.9364)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E4B #0E5A1D
analogous
#430E5A #5A0E4B #5A0E25
triadic
#5A0E4B #4B5A0E #0E4B5A
tetradic
#5A0E4B #5A430E #0E5A1D #0E255A
square
#5A0E4B #5A430E #0E5A1D #0E255A
split-complementary
#5A0E4B #255A0E #0E5A43
monochromatic
#1A0416 #25061F #5A0E4B #8F1677 #C41EA3

Accessibility & contrast

On white

13.13
#5A0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E4B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E4B#FFFFFF#000000##FFFFFF
##5A0E4B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11294D
Deuteranopia (green-blind)
#2C3449
Tritanopia (blue-blind)
#5F132C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a0e4b;
/* rgb */ color: rgb(90, 14, 75);
/* oklch */ color: oklch(32.8% 0.127 337.7);
Tailwind
colors: {
  custom: {
    50: '#8c577d',
    500: '#5a0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e4b;
$custom-light: #8c577d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e4b",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 311.842,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32751,
    "c": 0.12719,
    "h": 337.7
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#5A0E4B
secondary
#309444
accent
#F05C38
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #5A0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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