#5A144B#5A144B

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

Color values

HEX#5A144B
RGBrgb(90, 20, 75)
HSLhsl(313, 64%, 22%)
HSVhsv(313, 78%, 35%)
CMYKcmyk(0%, 77.8%, 16.7%, 64.7%)
CIE-LABlab(20.76, 37.68, -16.62)
CIE-LCHlch(20.76, 41.18, 336.20°)
OKLaboklab(33.28% 0.1114 -0.0451)
OKLCHoklch(33.28% 0.12 338)
XYZxyz(5.7367, 3.1825, 6.9674)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A144B #145A23
analogous
#46145A #5A144B #5A1428
triadic
#5A144B #4B5A14 #144B5A
tetradic
#5A144B #5A4614 #145A23 #14285A
square
#5A144B #5A4614 #145A23 #14285A
split-complementary
#5A144B #285A14 #145A46
monochromatic
#190615 #280921 #5A144B #8C1F75 #BE2A9E

Accessibility & contrast

On white

12.83
#5A144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A144B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A144B#FFFFFF#000000##FFFFFF
##5A144B1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4D
Deuteranopia (green-blind)
#2E3649
Tritanopia (blue-blind)
#5F182D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a144b;
/* rgb */ color: rgb(90, 20, 75);
/* oklch */ color: oklch(33.3% 0.120 338.0);
Tailwind
colors: {
  custom: {
    50: '#8b597d',
    500: '#5a144b',
    950: '#000000',
  },
}
SCSS
$custom: #5a144b;
$custom-light: #8b597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a144b",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 312.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33279,
    "c": 0.12018,
    "h": 338
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#5A144B
secondary
#38924B
accent
#E76541
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A144B

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

Preview Lab → · Contrast checker → · Palette generator →

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