#5A183A#5A183A

#5A183A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.103 H 352.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#5A183A
RGBrgb(90, 24, 58)
HSLhsl(329, 58%, 22%)
HSVhsv(329, 73%, 35%)
CMYKcmyk(0%, 73.3%, 35.6%, 64.7%)
CIE-LABlab(20.57, 33.48, -5.20)
CIE-LCHlch(20.57, 33.88, 351.17°)
OKLaboklab(32.88% 0.1023 -0.0134)
OKLCHoklch(32.88% 0.103 352.5)
XYZxyz(5.3071, 3.1330, 4.3274)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A183A #185A38
analogous
#59185A #5A183A #5A1819
triadic
#5A183A #3A5A18 #183A5A
tetradic
#5A183A #5A5918 #185A38 #18195A
square
#5A183A #5A5918 #185A38 #18195A
split-complementary
#5A183A #195A18 #185A59
monochromatic
#180610 #2A0B1B #5A183A #8A2559 #BB3278

Accessibility & contrast

On white

12.91
#5A183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5A183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A183A
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A183A#FFFFFF#000000##FFFFFF
##5A183A1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3B
Deuteranopia (green-blind)
#353638
Tritanopia (blue-blind)
#611326
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a183a;
/* rgb */ color: rgb(90, 24, 58);
/* oklch */ color: oklch(32.9% 0.103 352.5);
Tailwind
colors: {
  custom: {
    50: '#8c5b70',
    500: '#5a183a',
    950: '#000000',
  },
}
SCSS
$custom: #5a183a;
$custom-light: #8c5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5a183a",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 329.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32883,
    "c": 0.10316,
    "h": 352.5
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#5A183A
secondary
#3D9166
accent
#E19247
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A183A

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

Preview Lab → · Contrast checker → · Palette generator →

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