#5A1041#5A1041

#5A1041 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.118 H 345.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#5A1041
RGBrgb(90, 16, 65)
HSLhsl(320, 70%, 21%)
HSVhsv(320, 82%, 35%)
CMYKcmyk(0%, 82.2%, 27.8%, 64.7%)
CIE-LABlab(19.75, 37.61, -11.31)
CIE-LCHlch(19.75, 39.28, 343.26°)
OKLaboklab(32.38% 0.1141 -0.0301)
OKLCHoklch(32.38% 0.118 345.2)
XYZxyz(5.3561, 2.9265, 5.2828)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1041 #105A29
analogous
#4E105A #5A1041 #5A101C
triadic
#5A1041 #415A10 #10415A
tetradic
#5A1041 #5A4E10 #105A29 #101C5A
square
#5A1041 #5A4E10 #105A29 #101C5A
split-complementary
#5A1041 #1C5A10 #105A4E
monochromatic
#1A0513 #26071B #5A1041 #8E1967 #C2228C

Accessibility & contrast

On white

13.25
#5A1041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5A1041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1041
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1041#FFFFFF#000000##FFFFFF
##5A10411.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2842
Deuteranopia (green-blind)
#30343F
Tritanopia (blue-blind)
#610F27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1041;
/* rgb */ color: rgb(90, 16, 65);
/* oklch */ color: oklch(32.4% 0.118 345.2);
Tailwind
colors: {
  custom: {
    50: '#8c5775',
    500: '#5a1041',
    950: '#000000',
  },
}
SCSS
$custom: #5a1041;
$custom-light: #8c5775;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1041",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 320.27,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32381,
    "c": 0.11795,
    "h": 345.2
  },
  "luminance": 0.02926
}

Semantic roles & 50–950 ramp

primary
#5A1041
secondary
#339353
accent
#ED773B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A1041

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

Preview Lab → · Contrast checker → · Palette generator →

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