#5A144C#5A144C

#5A144C is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.121 H 337.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#5A144C
RGBrgb(90, 20, 76)
HSLhsl(312, 64%, 22%)
HSVhsv(312, 78%, 35%)
CMYKcmyk(0%, 77.8%, 15.6%, 64.7%)
CIE-LABlab(20.81, 37.84, -17.21)
CIE-LCHlch(20.81, 41.57, 335.54°)
OKLaboklab(33.34% 0.1115 -0.0468)
OKLCHoklch(33.34% 0.121 337.2)
XYZxyz(5.7712, 3.1963, 7.1491)
Luminance0.0320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A144C #145A22
analogous
#45145A #5A144C #5A1429
triadic
#5A144C #4C5A14 #144C5A
tetradic
#5A144C #5A4514 #145A22 #14295A
square
#5A144C #5A4514 #145A22 #14295A
split-complementary
#5A144C #295A14 #145A45
monochromatic
#190615 #280922 #5A144C #8C1F76 #BE2AA1

Accessibility & contrast

On white

12.81
#5A144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5A144C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A144C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A144C#FFFFFF#000000##FFFFFF
##5A144C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4E
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#5F182E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a144c;
/* rgb */ color: rgb(90, 20, 76);
/* oklch */ color: oklch(33.3% 0.121 337.2);
Tailwind
colors: {
  custom: {
    50: '#8b597e',
    500: '#5a144c',
    950: '#000000',
  },
}
SCSS
$custom: #5a144c;
$custom-light: #8b597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5a144c",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 312,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33335,
    "c": 0.12095,
    "h": 337.2
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#5A144C
secondary
#38924A
accent
#E76241
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5A144C

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

Preview Lab → · Contrast checker → · Palette generator →

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