#5A1144#5A1144

#5A1144 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.119 H 343.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#5A1144
RGBrgb(90, 17, 68)
HSLhsl(318, 68%, 21%)
HSVhsv(318, 81%, 35%)
CMYKcmyk(0%, 81.1%, 24.4%, 64.7%)
CIE-LABlab(20.01, 37.70, -12.98)
CIE-LCHlch(20.01, 39.87, 341.01°)
OKLaboklab(32.62% 0.1136 -0.0348)
OKLCHoklch(32.62% 0.119 343)
XYZxyz(5.4605, 2.9925, 5.7578)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1144 #115A27
analogous
#4B115A #5A1144 #5A111F
triadic
#5A1144 #445A11 #11445A
tetradic
#5A1144 #5A4B11 #115A27 #111F5A
square
#5A1144 #5A4B11 #115A27 #111F5A
split-complementary
#5A1144 #1F5A11 #115A4B
monochromatic
#1A0513 #27071D #5A1144 #8D1B6B #C12492

Accessibility & contrast

On white

13.14
#5A1144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1144
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1144#FFFFFF#000000##FFFFFF
##5A11441.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192945
Deuteranopia (green-blind)
#303542
Tritanopia (blue-blind)
#601129
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1144;
/* rgb */ color: rgb(90, 17, 68);
/* oklch */ color: oklch(32.6% 0.119 343.0);
Tailwind
colors: {
  custom: {
    50: '#8c5878',
    500: '#5a1144',
    950: '#000000',
  },
}
SCSS
$custom: #5a1144;
$custom-light: #8c5878;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1144",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 68
  },
  "hsl": {
    "h": 318.082,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32622,
    "c": 0.1188,
    "h": 343
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#5A1144
secondary
#349351
accent
#EB713D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A1144

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

Preview Lab → · Contrast checker → · Palette generator →

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