#5A0E48#5A0E48

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

Color values

HEX#5A0E48
RGBrgb(90, 14, 72)
HSLhsl(314, 73%, 20%)
HSVhsv(314, 84%, 35%)
CMYKcmyk(0%, 84.4%, 20%, 64.7%)
CIE-LABlab(19.87, 39.30, -15.96)
CIE-LCHlch(19.87, 42.41, 337.90°)
OKLaboklab(32.58% 0.1173 -0.0431)
OKLCHoklch(32.58% 0.125 339.8)
XYZxyz(5.5433, 2.9562, 6.4083)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0E48 #0E5A20
analogous
#460E5A #5A0E48 #5A0E22
triadic
#5A0E48 #485A0E #0E485A
tetradic
#5A0E48 #5A460E #0E5A20 #0E225A
square
#5A0E48 #5A460E #0E5A20 #0E225A
split-complementary
#5A0E48 #225A0E #0E5A46
monochromatic
#1A0415 #25061E #5A0E48 #8F1672 #C41E9D

Accessibility & contrast

On white

13.20
#5A0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0E48
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0E48#FFFFFF#000000##FFFFFF
##5A0E481.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14284A
Deuteranopia (green-blind)
#2D3446
Tritanopia (blue-blind)
#60112A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a0e48;
/* rgb */ color: rgb(90, 14, 72);
/* oklch */ color: oklch(32.6% 0.125 339.8);
Tailwind
colors: {
  custom: {
    50: '#8c577b',
    500: '#5a0e48',
    950: '#000000',
  },
}
SCSS
$custom: #5a0e48;
$custom-light: #8c577b;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0e48",
  "rgb": {
    "r": 90,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 314.211,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.12499,
    "h": 339.8
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#5A0E48
secondary
#309448
accent
#F06438
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #5A0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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