#5A1341#5A1341

#5A1341 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.114 H 345.6°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#5A1341
RGBrgb(90, 19, 65)
HSLhsl(321, 65%, 21%)
HSVhsv(321, 79%, 35%)
CMYKcmyk(0%, 78.9%, 27.8%, 64.7%)
CIE-LABlab(20.13, 36.53, -10.73)
CIE-LCHlch(20.13, 38.07, 343.64°)
OKLaboklab(32.66% 0.1107 -0.0285)
OKLCHoklch(32.66% 0.114 345.6)
XYZxyz(5.4037, 3.0216, 5.2987)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1341 #135A2C
analogous
#50135A #5A1341 #5A131E
triadic
#5A1341 #415A13 #13415A
tetradic
#5A1341 #5A5013 #135A2C #131E5A
square
#5A1341 #5A5013 #135A2C #131E5A
split-complementary
#5A1341 #1E5A13 #135A50
monochromatic
#190512 #27081D #5A1341 #8D1E65 #BF288A

Accessibility & contrast

On white

13.09
#5A1341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A1341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1341
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1341#FFFFFF#000000##FFFFFF
##5A13411.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2942
Deuteranopia (green-blind)
#31353F
Tritanopia (blue-blind)
#611228
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1341;
/* rgb */ color: rgb(90, 19, 65);
/* oklch */ color: oklch(32.7% 0.114 345.6);
Tailwind
colors: {
  custom: {
    50: '#8c5875',
    500: '#5a1341',
    950: '#000000',
  },
}
SCSS
$custom: #5a1341;
$custom-light: #8c5875;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1341",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 321.127,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3266,
    "c": 0.1143,
    "h": 345.6
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#5A1341
secondary
#379257
accent
#E87B40
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A1341

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

Preview Lab → · Contrast checker → · Palette generator →

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