#5A144A#5A144A

#5A144A is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.119 H 338.7°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5A144A
RGBrgb(90, 20, 74)
HSLhsl(314, 64%, 22%)
HSVhsv(314, 78%, 35%)
CMYKcmyk(0%, 77.8%, 17.8%, 64.7%)
CIE-LABlab(20.71, 37.52, -16.02)
CIE-LCHlch(20.71, 40.79, 336.88°)
OKLaboklab(33.22% 0.1113 -0.0434)
OKLCHoklch(33.22% 0.119 338.7)
XYZxyz(5.7028, 3.1689, 6.7886)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A144A #145A24
analogous
#47145A #5A144A #5A1427
triadic
#5A144A #4A5A14 #144A5A
tetradic
#5A144A #5A4714 #145A24 #14275A
square
#5A144A #5A4714 #145A24 #14275A
split-complementary
#5A144A #275A14 #145A47
monochromatic
#190615 #280921 #5A144A #8C1F73 #BE2A9C

Accessibility & contrast

On white

12.86
#5A144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5A144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A144A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A144A#FFFFFF#000000##FFFFFF
##5A144A1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4B
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#5F172D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a144a;
/* rgb */ color: rgb(90, 20, 74);
/* oklch */ color: oklch(33.2% 0.119 338.7);
Tailwind
colors: {
  custom: {
    50: '#8b597c',
    500: '#5a144a',
    950: '#000000',
  },
}
SCSS
$custom: #5a144a;
$custom-light: #8b597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a144a",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 313.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33224,
    "c": 0.11941,
    "h": 338.7
  },
  "luminance": 0.03168
}

Semantic roles & 50–950 ramp

primary
#5A144A
secondary
#38924D
accent
#E76741
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A144A

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

Preview Lab → · Contrast checker → · Palette generator →

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