#5A1641#5A1641

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

Color values

HEX#5A1641
RGBrgb(90, 22, 65)
HSLhsl(322, 61%, 22%)
HSVhsv(322, 76%, 35%)
CMYKcmyk(0%, 75.6%, 27.8%, 64.7%)
CIE-LABlab(20.56, 35.33, -10.07)
CIE-LCHlch(20.56, 36.74, 344.09°)
OKLaboklab(32.97% 0.107 -0.0267)
OKLCHoklch(32.97% 0.11 346)
XYZxyz(5.4577, 3.1297, 5.3167)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1641 #165A2F
analogous
#51165A #5A1641 #5A161F
triadic
#5A1641 #415A16 #16415A
tetradic
#5A1641 #5A5116 #165A2F #161F5A
square
#5A1641 #5A5116 #165A2F #161F5A
split-complementary
#5A1641 #1F5A16 #165A51
monochromatic
#190612 #290A1D #5A1641 #8B2265 #BC2E88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A1641#FFFFFF#000000##FFFFFF
##5A16411.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)
#1E2A42
Deuteranopia (green-blind)
#32363F
Tritanopia (blue-blind)
#611529
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1641;
/* rgb */ color: rgb(90, 22, 65);
/* oklch */ color: oklch(33.0% 0.110 346.0);
Tailwind
colors: {
  custom: {
    50: '#8c5a75',
    500: '#5a1641',
    950: '#000000',
  },
}
SCSS
$custom: #5a1641;
$custom-light: #8c5a75;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1641",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 322.059,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32971,
    "c": 0.11027,
    "h": 346
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#5A1641
secondary
#3B915A
accent
#E47F44
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A1641

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

Preview Lab → · Contrast checker → · Palette generator →

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