#5A1544#5A1544

#5A1544 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.114 H 343.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5A1544
RGBrgb(90, 21, 68)
HSLhsl(319, 62%, 22%)
HSVhsv(319, 77%, 35%)
CMYKcmyk(0%, 76.7%, 24.4%, 64.7%)
CIE-LABlab(20.55, 36.19, -12.15)
CIE-LCHlch(20.55, 38.17, 341.44°)
OKLaboklab(33.01% 0.109 -0.0325)
OKLCHoklch(33.01% 0.114 343.4)
XYZxyz(5.5282, 3.1279, 5.7803)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1544 #155A2B
analogous
#4E155A #5A1544 #5A1522
triadic
#5A1544 #445A15 #15445A
tetradic
#5A1544 #5A4E15 #155A2B #15225A
square
#5A1544 #5A4E15 #155A2B #15225A
split-complementary
#5A1544 #225A15 #155A4E
monochromatic
#190613 #28091F #5A1544 #8C2169 #BD2C8F

Accessibility & contrast

On white

12.92
#5A1544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1544
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1544#FFFFFF#000000##FFFFFF
##5A15441.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A45
Deuteranopia (green-blind)
#313642
Tritanopia (blue-blind)
#60152A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1544;
/* rgb */ color: rgb(90, 21, 68);
/* oklch */ color: oklch(33.0% 0.114 343.4);
Tailwind
colors: {
  custom: {
    50: '#8c5978',
    500: '#5a1544',
    950: '#000000',
  },
}
SCSS
$custom: #5a1544;
$custom-light: #8c5978;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1544",
  "rgb": {
    "r": 90,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 319.13,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33011,
    "c": 0.11369,
    "h": 343.4
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#5A1544
secondary
#399255
accent
#E57643
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A1544

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

Preview Lab → · Contrast checker → · Palette generator →

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