#5A0E49#5A0E49

#5A0E49 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.6% C 0.126 H 339.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#5A0E49
RGBrgb(90, 14, 73)
HSLhsl(313, 73%, 20%)
HSVhsv(313, 84%, 35%)
CMYKcmyk(0%, 84.4%, 18.9%, 64.7%)
CIE-LABlab(19.92, 39.45, -16.56)
CIE-LCHlch(19.92, 42.79, 337.23°)
OKLaboklab(32.64% 0.1174 -0.0449)
OKLCHoklch(32.64% 0.126 339.1)
XYZxyz(5.5762, 2.9693, 6.5815)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E49 #0E5A1F
analogous
#450E5A #5A0E49 #5A0E23
triadic
#5A0E49 #495A0E #0E495A
tetradic
#5A0E49 #5A450E #0E5A1F #0E235A
square
#5A0E49 #5A450E #0E5A1F #0E235A
split-complementary
#5A0E49 #235A0E #0E5A45
monochromatic
#1A0415 #25061E #5A0E49 #8F1674 #C41E9F

Accessibility & contrast

On white

13.18
#5A0E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5A0E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0E49
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E49#FFFFFF#000000##FFFFFF
##5A0E491.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294B
Deuteranopia (green-blind)
#2D3447
Tritanopia (blue-blind)
#60122B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a0e49;
/* rgb */ color: rgb(90, 14, 73);
/* oklch */ color: oklch(32.6% 0.126 339.1);
Tailwind
colors: {
  custom: {
    50: '#8c577c',
    500: '#5a0e49',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e49;
$custom-light: #8c577c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e49",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 313.421,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32638,
    "c": 0.12572,
    "h": 339.1
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#5A0E49
secondary
#309446
accent
#F06138
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #5A0E49

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

Preview Lab → · Contrast checker → · Palette generator →

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