#5A183B#5A183B

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

Color values

HEX#5A183B
RGBrgb(90, 24, 59)
HSLhsl(328, 58%, 22%)
HSVhsv(328, 73%, 35%)
CMYKcmyk(0%, 73.3%, 34.4%, 64.7%)
CIE-LABlab(20.61, 33.62, -5.84)
CIE-LCHlch(20.61, 34.12, 350.15°)
OKLaboklab(32.92% 0.1026 -0.0151)
OKLCHoklch(32.92% 0.104 351.6)
XYZxyz(5.3328, 3.1433, 4.4627)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A183B #185A37
analogous
#58185A #5A183B #5A181A
triadic
#5A183B #3B5A18 #183B5A
tetradic
#5A183B #5A5818 #185A37 #181A5A
square
#5A183B #5A5818 #185A37 #181A5A
split-complementary
#5A183B #1A5A18 #185A58
monochromatic
#180610 #2A0B1B #5A183B #8A255B #BB327A

Accessibility & contrast

On white

12.89
#5A183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A183B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A183B#FFFFFF#000000##FFFFFF
##5A183B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3C
Deuteranopia (green-blind)
#353639
Tritanopia (blue-blind)
#611427
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a183b;
/* rgb */ color: rgb(90, 24, 59);
/* oklch */ color: oklch(32.9% 0.104 351.6);
Tailwind
colors: {
  custom: {
    50: '#8c5b70',
    500: '#5a183b',
    950: '#000000',
  },
}
SCSS
$custom: #5a183b;
$custom-light: #8c5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5a183b",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 328.182,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32925,
    "c": 0.10371,
    "h": 351.6
  },
  "luminance": 0.03143
}

Semantic roles & 50–950 ramp

primary
#5A183B
secondary
#3D9164
accent
#E18F47
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A183B

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

Preview Lab → · Contrast checker → · Palette generator →

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