#5A1039#5A1039

#5A1039 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.113 H 351.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#5A1039
RGBrgb(90, 16, 57)
HSLhsl(327, 70%, 21%)
HSVhsv(327, 82%, 35%)
CMYKcmyk(0%, 82.2%, 36.7%, 64.7%)
CIE-LABlab(19.39, 36.53, -6.27)
CIE-LCHlch(19.39, 37.07, 350.26°)
OKLaboklab(32.01% 0.112 -0.0162)
OKLCHoklch(32.01% 0.113 351.8)
XYZxyz(5.1406, 2.8403, 4.1476)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1039 #105A31
analogous
#56105A #5A1039 #5A1014
triadic
#5A1039 #395A10 #10395A
tetradic
#5A1039 #5A5610 #105A31 #10145A
square
#5A1039 #5A5610 #105A31 #10145A
split-complementary
#5A1039 #145A10 #105A56
monochromatic
#1A0510 #260718 #5A1039 #8E195A #C2227B

Accessibility & contrast

On white

13.39
#5A1039 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A1039 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1039
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1039#FFFFFF#000000##FFFFFF
##5A10391.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273A
Deuteranopia (green-blind)
#333437
Tritanopia (blue-blind)
#610923
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1039;
/* rgb */ color: rgb(90, 16, 57);
/* oklch */ color: oklch(32.0% 0.113 351.8);
Tailwind
colors: {
  custom: {
    50: '#8c576f',
    500: '#5a1039',
    950: '#000000',
  },
}
SCSS
$custom: #5a1039;
$custom-light: #8c576f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1039",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 57
  },
  "hsl": {
    "h": 326.757,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.11316,
    "h": 351.8
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#5A1039
secondary
#33935E
accent
#ED8A3B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0307
muted
#7D787A

Preview Lab

Preview with #5A1039

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

Preview Lab → · Contrast checker → · Palette generator →

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