#5A1941#5A1941

#5A1941 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.106 H 346.5°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5A1941
RGBrgb(90, 25, 65)
HSLhsl(323, 57%, 23%)
HSVhsv(323, 72%, 35%)
CMYKcmyk(0%, 72.2%, 27.8%, 64.7%)
CIE-LABlab(21.02, 34.03, -9.36)
CIE-LCHlch(21.02, 35.29, 344.62°)
OKLaboklab(33.31% 0.103 -0.0247)
OKLCHoklch(33.31% 0.106 346.5)
XYZxyz(5.5184, 3.2511, 5.3369)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1941 #195A32
analogous
#53195A #5A1941 #5A1920
triadic
#5A1941 #415A19 #19415A
tetradic
#5A1941 #5A5319 #195A32 #19205A
square
#5A1941 #5A5319 #195A32 #19205A
split-complementary
#5A1941 #205A19 #195A53
monochromatic
#180711 #2A0C1E #5A1941 #8A2664 #BA3486

Accessibility & contrast

On white

12.73
#5A1941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5A1941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1941
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1941#FFFFFF#000000##FFFFFF
##5A19411.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B42
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#60172A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5a1941;
/* rgb */ color: rgb(90, 25, 65);
/* oklch */ color: oklch(33.3% 0.106 346.5);
Tailwind
colors: {
  custom: {
    50: '#8b5b75',
    500: '#5a1941',
    950: '#000000',
  },
}
SCSS
$custom: #5a1941;
$custom-light: #8b5b75;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1941",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 65
  },
  "hsl": {
    "h": 323.077,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33312,
    "c": 0.10591,
    "h": 346.5
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#5A1941
secondary
#3E905E
accent
#E08248
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A1941

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

Preview Lab → · Contrast checker → · Palette generator →

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