#5A1339#5A1339

#5A1339 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.109 H 352.3°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#5A1339
RGBrgb(90, 19, 57)
HSLhsl(328, 65%, 21%)
HSVhsv(328, 79%, 35%)
CMYKcmyk(0%, 78.9%, 36.7%, 64.7%)
CIE-LABlab(19.78, 35.43, -5.68)
CIE-LCHlch(19.78, 35.88, 350.88°)
OKLaboklab(32.29% 0.1085 -0.0146)
OKLCHoklch(32.29% 0.109 352.3)
XYZxyz(5.1881, 2.9354, 4.1635)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1339 #135A34
analogous
#58135A #5A1339 #5A1316
triadic
#5A1339 #395A13 #13395A
tetradic
#5A1339 #5A5813 #135A34 #13165A
square
#5A1339 #5A5813 #135A34 #13165A
split-complementary
#5A1339 #165A13 #135A58
monochromatic
#190510 #270819 #5A1339 #8D1E59 #BF2879

Accessibility & contrast

On white

13.23
#5A1339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1339
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1339#FFFFFF#000000##FFFFFF
##5A13391.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283A
Deuteranopia (green-blind)
#343437
Tritanopia (blue-blind)
#610D24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1339;
/* rgb */ color: rgb(90, 19, 57);
/* oklch */ color: oklch(32.3% 0.109 352.3);
Tailwind
colors: {
  custom: {
    50: '#8c586f',
    500: '#5a1339',
    950: '#000000',
  },
}
SCSS
$custom: #5a1339;
$custom-light: #8c586f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1339",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 327.887,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32293,
    "c": 0.10948,
    "h": 352.3
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#5A1339
secondary
#379261
accent
#E88E40
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A1339

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

Preview Lab → · Contrast checker → · Palette generator →

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