#5A1049#5A1049

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

Color values

HEX#5A1049
RGBrgb(90, 16, 73)
HSLhsl(314, 70%, 21%)
HSVhsv(314, 82%, 35%)
CMYKcmyk(0%, 82.2%, 18.9%, 64.7%)
CIE-LABlab(20.15, 38.81, -16.21)
CIE-LCHlch(20.15, 42.05, 337.33°)
OKLaboklab(32.8% 0.1155 -0.0439)
OKLCHoklch(32.8% 0.124 339.2)
XYZxyz(5.6045, 3.0258, 6.5909)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1049 #105A21
analogous
#46105A #5A1049 #5A1024
triadic
#5A1049 #495A10 #10495A
tetradic
#5A1049 #5A4610 #105A21 #10245A
square
#5A1049 #5A4610 #105A21 #10245A
split-complementary
#5A1049 #245A10 #105A46
monochromatic
#1A0515 #26071F #5A1049 #8E1973 #C2229D

Accessibility & contrast

On white

13.08
#5A1049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5A1049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1049
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1049#FFFFFF#000000##FFFFFF
##5A10491.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294B
Deuteranopia (green-blind)
#2E3547
Tritanopia (blue-blind)
#60132B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1049;
/* rgb */ color: rgb(90, 16, 73);
/* oklch */ color: oklch(32.8% 0.124 339.2);
Tailwind
colors: {
  custom: {
    50: '#8c587c',
    500: '#5a1049',
    950: '#000000',
  },
}
SCSS
$custom: #5a1049;
$custom-light: #8c587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1049",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 313.784,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32801,
    "c": 0.12354,
    "h": 339.2
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#5A1049
secondary
#339349
accent
#ED643B
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A1049

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

Preview Lab → · Contrast checker → · Palette generator →

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