#5A193B#5A193B

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

Color values

HEX#5A193B
RGBrgb(90, 25, 59)
HSLhsl(329, 57%, 23%)
HSVhsv(329, 72%, 35%)
CMYKcmyk(0%, 72.2%, 34.4%, 64.7%)
CIE-LABlab(20.77, 33.17, -5.59)
CIE-LCHlch(20.77, 33.64, 350.43°)
OKLaboklab(33.05% 0.1012 -0.0144)
OKLCHoklch(33.05% 0.102 351.9)
XYZxyz(5.3538, 3.1853, 4.4697)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A193B #195A38
analogous
#58195A #5A193B #5A191B
triadic
#5A193B #3B5A19 #193B5A
tetradic
#5A193B #5A5819 #195A38 #191B5A
square
#5A193B #5A5819 #195A38 #191B5A
split-complementary
#5A193B #1B5A19 #195A58
monochromatic
#180710 #2A0C1C #5A193B #8A265A #BA347A

Accessibility & contrast

On white

12.83
#5A193B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5A193B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A193B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A193B#FFFFFF#000000##FFFFFF
##5A193B1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3C
Deuteranopia (green-blind)
#353639
Tritanopia (blue-blind)
#611527
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a193b;
/* rgb */ color: rgb(90, 25, 59);
/* oklch */ color: oklch(33.0% 0.102 351.9);
Tailwind
colors: {
  custom: {
    50: '#8c5b70',
    500: '#5a193b',
    950: '#000000',
  },
}
SCSS
$custom: #5a193b;
$custom-light: #8c5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5a193b",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 59
  },
  "hsl": {
    "h": 328.615,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33045,
    "c": 0.10223,
    "h": 351.9
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#5A193B
secondary
#3E9066
accent
#E09048
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A193B

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

Preview Lab → · Contrast checker → · Palette generator →

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