#5A1439#5A1439

#5A1439 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.108 H 352.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#5A1439
RGBrgb(90, 20, 57)
HSLhsl(328, 64%, 22%)
HSVhsv(328, 78%, 35%)
CMYKcmyk(0%, 77.8%, 36.7%, 64.7%)
CIE-LABlab(19.92, 35.04, -5.47)
CIE-LCHlch(19.92, 35.46, 351.12°)
OKLaboklab(32.4% 0.1073 -0.0141)
OKLCHoklch(32.4% 0.108 352.5)
XYZxyz(5.2054, 2.9700, 4.1692)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1439 #145A35
analogous
#58145A #5A1439 #5A1416
triadic
#5A1439 #395A14 #14395A
tetradic
#5A1439 #5A5814 #145A35 #14165A
square
#5A1439 #5A5814 #145A35 #14165A
split-complementary
#5A1439 #165A14 #145A58
monochromatic
#190610 #280919 #5A1439 #8C1F59 #BE2A78

Accessibility & contrast

On white

13.18
#5A1439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1439
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1439#FFFFFF#000000##FFFFFF
##5A14391.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#343537
Tritanopia (blue-blind)
#610E24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1439;
/* rgb */ color: rgb(90, 20, 57);
/* oklch */ color: oklch(32.4% 0.108 352.5);
Tailwind
colors: {
  custom: {
    50: '#8c596f',
    500: '#5a1439',
    950: '#000000',
  },
}
SCSS
$custom: #5a1439;
$custom-light: #8c596f;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1439",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 57
  },
  "hsl": {
    "h": 328.286,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32396,
    "c": 0.10819,
    "h": 352.5
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#5A1439
secondary
#389262
accent
#E78F41
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A1439

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

Preview Lab → · Contrast checker → · Palette generator →

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