#5A193C#5A193C

#5A193C is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.103 H 351.0°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#5A193C
RGBrgb(90, 25, 60)
HSLhsl(328, 57%, 23%)
HSVhsv(328, 72%, 35%)
CMYKcmyk(0%, 72.2%, 33.3%, 64.7%)
CIE-LABlab(20.81, 33.31, -6.23)
CIE-LCHlch(20.81, 33.88, 349.41°)
OKLaboklab(33.09% 0.1015 -0.0162)
OKLCHoklch(33.09% 0.103 351)
XYZxyz(5.3800, 3.1958, 4.6076)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A193C #195A37
analogous
#57195A #5A193C #5A191C
triadic
#5A193C #3C5A19 #193C5A
tetradic
#5A193C #5A5719 #195A37 #191C5A
square
#5A193C #5A5719 #195A37 #191C5A
split-complementary
#5A193C #1C5A19 #195A57
monochromatic
#180710 #2A0C1C #5A193C #8A265C #BA347C

Accessibility & contrast

On white

12.81
#5A193C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A193C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A193C#FFFFFF#000000##FFFFFF
##5A193C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3D
Deuteranopia (green-blind)
#35363A
Tritanopia (blue-blind)
#611528
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a193c;
/* rgb */ color: rgb(90, 25, 60);
/* oklch */ color: oklch(33.1% 0.103 351.0);
Tailwind
colors: {
  custom: {
    50: '#8c5b71',
    500: '#5a193c',
    950: '#000000',
  },
}
SCSS
$custom: #5a193c;
$custom-light: #8c5b71;
$custom-dark: #000000;
JSON
{
  "hex": "#5a193c",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 60
  },
  "hsl": {
    "h": 327.692,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33088,
    "c": 0.1028,
    "h": 351
  },
  "luminance": 0.03195
}

Semantic roles & 50–950 ramp

primary
#5A193C
secondary
#3E9064
accent
#E08E48
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A193C

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

Preview Lab → · Contrast checker → · Palette generator →

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