#5A1640#5A1640

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

Color values

HEX#5A1640
RGBrgb(90, 22, 64)
HSLhsl(323, 61%, 22%)
HSVhsv(323, 76%, 35%)
CMYKcmyk(0%, 75.6%, 28.9%, 64.7%)
CIE-LABlab(20.51, 35.18, -9.45)
CIE-LCHlch(20.51, 36.43, 344.96°)
OKLaboklab(32.92% 0.1067 -0.025)
OKLCHoklch(32.92% 0.11 346.8)
XYZxyz(5.4290, 3.1182, 5.1655)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1640 #165A30
analogous
#52165A #5A1640 #5A161E
triadic
#5A1640 #405A16 #16405A
tetradic
#5A1640 #5A5216 #165A30 #161E5A
square
#5A1640 #5A5216 #165A30 #161E5A
split-complementary
#5A1640 #1E5A16 #165A52
monochromatic
#190611 #290A1D #5A1640 #8B2263 #BC2E86

Accessibility & contrast

On white

12.93
#5A1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5A1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1640
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1640#FFFFFF#000000##FFFFFF
##5A16401.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#611428
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1640;
/* rgb */ color: rgb(90, 22, 64);
/* oklch */ color: oklch(32.9% 0.110 346.8);
Tailwind
colors: {
  custom: {
    50: '#8c5a74',
    500: '#5a1640',
    950: '#000000',
  },
}
SCSS
$custom: #5a1640;
$custom-light: #8c5a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1640",
  "rgb": {
    "r": 90,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 322.941,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.10961,
    "h": 346.8
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#5A1640
secondary
#3B915C
accent
#E48144
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A1640

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

Preview Lab → · Contrast checker → · Palette generator →

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