#5A193A#5A193A

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

Color values

HEX#5A193A
RGBrgb(90, 25, 58)
HSLhsl(330, 57%, 23%)
HSVhsv(330, 72%, 35%)
CMYKcmyk(0%, 72.2%, 35.6%, 64.7%)
CIE-LABlab(20.73, 33.03, -4.96)
CIE-LCHlch(20.73, 33.40, 351.46°)
OKLaboklab(33% 0.1009 -0.0127)
OKLCHoklch(33% 0.102 352.8)
XYZxyz(5.3281, 3.1750, 4.3344)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A193A #195A39
analogous
#59195A #5A193A #5A191A
triadic
#5A193A #3A5A19 #193A5A
tetradic
#5A193A #5A5919 #195A39 #191A5A
square
#5A193A #5A5919 #195A39 #191A5A
split-complementary
#5A193A #1A5A19 #195A59
monochromatic
#18070F #2A0C1B #5A193A #8A2659 #BA3478

Accessibility & contrast

On white

12.85
#5A193A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A193A
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A193A#FFFFFF#000000##FFFFFF
##5A193A1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a193a;
/* rgb */ color: rgb(90, 25, 58);
/* oklch */ color: oklch(33.0% 0.102 352.8);
Tailwind
colors: {
  custom: {
    50: '#8c5b70',
    500: '#5a193a',
    950: '#000000',
  },
}
SCSS
$custom: #5a193a;
$custom-light: #8c5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5a193a",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 58
  },
  "hsl": {
    "h": 329.538,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33003,
    "c": 0.10168,
    "h": 352.8
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#5A193A
secondary
#3E9067
accent
#E09348
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A193A

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

Preview Lab → · Contrast checker → · Palette generator →

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