#5A1044#5A1044

#5A1044 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.120 H 342.9°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#5A1044
RGBrgb(90, 16, 68)
HSLhsl(318, 70%, 21%)
HSVhsv(318, 82%, 35%)
CMYKcmyk(0%, 82.2%, 24.4%, 64.7%)
CIE-LABlab(19.89, 38.05, -13.16)
CIE-LCHlch(19.89, 40.26, 340.91°)
OKLaboklab(32.53% 0.1147 -0.0353)
OKLCHoklch(32.53% 0.12 342.9)
XYZxyz(5.4453, 2.9622, 5.7527)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1044 #105A26
analogous
#4B105A #5A1044 #5A101F
triadic
#5A1044 #445A10 #10445A
tetradic
#5A1044 #5A4B10 #105A26 #101F5A
square
#5A1044 #5A4B10 #105A26 #101F5A
split-complementary
#5A1044 #1F5A10 #105A4B
monochromatic
#1A0514 #26071D #5A1044 #8E196B #C22293

Accessibility & contrast

On white

13.19
#5A1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1044
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1044#FFFFFF#000000##FFFFFF
##5A10441.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182845
Deuteranopia (green-blind)
#2F3442
Tritanopia (blue-blind)
#601028
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1044;
/* rgb */ color: rgb(90, 16, 68);
/* oklch */ color: oklch(32.5% 0.120 342.9);
Tailwind
colors: {
  custom: {
    50: '#8c5778',
    500: '#5a1044',
    950: '#000000',
  },
}
SCSS
$custom: #5a1044;
$custom-light: #8c5778;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1044",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 317.838,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32534,
    "c": 0.11996,
    "h": 342.9
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#5A1044
secondary
#33934F
accent
#ED703B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A1044

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

Preview Lab → · Contrast checker → · Palette generator →

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