#5A183D#5A183D

#5A183D is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.105 H 349.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5A183D
RGBrgb(90, 24, 61)
HSLhsl(326, 58%, 22%)
HSVhsv(326, 73%, 35%)
CMYKcmyk(0%, 73.3%, 32.2%, 64.7%)
CIE-LABlab(20.69, 33.90, -7.10)
CIE-LCHlch(20.69, 34.63, 348.17°)
OKLaboklab(33.01% 0.1032 -0.0185)
OKLCHoklch(33.01% 0.105 349.8)
XYZxyz(5.3857, 3.1644, 4.7411)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A183D #185A35
analogous
#56185A #5A183D #5A181C
triadic
#5A183D #3D5A18 #183D5A
tetradic
#5A183D #5A5618 #185A35 #181C5A
square
#5A183D #5A5618 #185A35 #181C5A
split-complementary
#5A183D #1C5A18 #185A56
monochromatic
#180610 #2A0B1C #5A183D #8A255E #BB327E

Accessibility & contrast

On white

12.86
#5A183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A183D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A183D#FFFFFF#000000##FFFFFF
##5A183D1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3E
Deuteranopia (green-blind)
#34363B
Tritanopia (blue-blind)
#611528
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a183d;
/* rgb */ color: rgb(90, 24, 61);
/* oklch */ color: oklch(33.0% 0.105 349.8);
Tailwind
colors: {
  custom: {
    50: '#8c5b72',
    500: '#5a183d',
    950: '#000000',
  },
}
SCSS
$custom: #5a183d;
$custom-light: #8c5b72;
$custom-dark: #000000;
JSON
{
  "hex": "#5a183d",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 326.364,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33012,
    "c": 0.10487,
    "h": 349.8
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#5A183D
secondary
#3D9162
accent
#E18B47
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A183D

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

Preview Lab → · Contrast checker → · Palette generator →

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