#5A144D#5A144D

#5A144D is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.122 H 336.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#5A144D
RGBrgb(90, 20, 77)
HSLhsl(311, 64%, 22%)
HSVhsv(311, 78%, 35%)
CMYKcmyk(0%, 77.8%, 14.4%, 64.7%)
CIE-LABlab(20.87, 38.01, -17.81)
CIE-LCHlch(20.87, 41.98, 334.89°)
OKLaboklab(33.39% 0.1117 -0.0485)
OKLCHoklch(33.39% 0.122 336.5)
XYZxyz(5.8063, 3.2103, 7.3336)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A144D #145A21
analogous
#44145A #5A144D #5A142A
triadic
#5A144D #4D5A14 #144D5A
tetradic
#5A144D #5A4414 #145A21 #142A5A
square
#5A144D #5A4414 #145A21 #142A5A
split-complementary
#5A144D #2A5A14 #145A44
monochromatic
#190615 #280922 #5A144D #8C1F78 #BE2AA3

Accessibility & contrast

On white

12.79
#5A144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A144D
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A144D#FFFFFF#000000##FFFFFF
##5A144D1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4F
Deuteranopia (green-blind)
#2D364B
Tritanopia (blue-blind)
#5F192F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a144d;
/* rgb */ color: rgb(90, 20, 77);
/* oklch */ color: oklch(33.4% 0.122 336.5);
Tailwind
colors: {
  custom: {
    50: '#8b597f',
    500: '#5a144d',
    950: '#000000',
  },
}
SCSS
$custom: #5a144d;
$custom-light: #8b597f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a144d",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 311.143,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33391,
    "c": 0.12174,
    "h": 336.5
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#5A144D
secondary
#389249
accent
#E76041
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5A144D

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

Preview Lab → · Contrast checker → · Palette generator →

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