#5A1644#5A1644

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

Color values

HEX#5A1644
RGBrgb(90, 22, 68)
HSLhsl(319, 61%, 22%)
HSVhsv(319, 76%, 35%)
CMYKcmyk(0%, 75.6%, 24.4%, 64.7%)
CIE-LABlab(20.69, 35.78, -11.93)
CIE-LCHlch(20.69, 37.71, 341.56°)
OKLaboklab(33.12% 0.1077 -0.0319)
OKLCHoklch(33.12% 0.112 343.5)
XYZxyz(5.5469, 3.1654, 5.7866)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1644 #165A2C
analogous
#4E165A #5A1644 #5A1622
triadic
#5A1644 #445A16 #16445A
tetradic
#5A1644 #5A4E16 #165A2C #16225A
square
#5A1644 #5A4E16 #165A2C #16225A
split-complementary
#5A1644 #225A16 #165A4E
monochromatic
#190613 #290A1F #5A1644 #8B2269 #BC2E8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A1644#FFFFFF#000000##FFFFFF
##5A16441.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)
#1D2B45
Deuteranopia (green-blind)
#313642
Tritanopia (blue-blind)
#60162A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a1644;
/* rgb */ color: rgb(90, 22, 68);
/* oklch */ color: oklch(33.1% 0.112 343.5);
Tailwind
colors: {
  custom: {
    50: '#8b5a78',
    500: '#5a1644',
    950: '#000000',
  },
}
SCSS
$custom: #5a1644;
$custom-light: #8b5a78;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1644",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 319.412,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33117,
    "c": 0.11231,
    "h": 343.5
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#5A1644
secondary
#3B9157
accent
#E47844
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A1644

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

Preview Lab → · Contrast checker → · Palette generator →

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