#5A193D#5A193D

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

Color values

HEX#5A193D
RGBrgb(90, 25, 61)
HSLhsl(327, 57%, 23%)
HSVhsv(327, 72%, 35%)
CMYKcmyk(0%, 72.2%, 32.2%, 64.7%)
CIE-LABlab(20.85, 33.45, -6.86)
CIE-LCHlch(20.85, 34.14, 348.41°)
OKLaboklab(33.13% 0.1018 -0.0179)
OKLCHoklch(33.13% 0.103 350)
XYZxyz(5.4066, 3.2064, 4.7481)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A193D #195A36
analogous
#56195A #5A193D #5A191D
triadic
#5A193D #3D5A19 #193D5A
tetradic
#5A193D #5A5619 #195A36 #191D5A
square
#5A193D #5A5619 #195A36 #191D5A
split-complementary
#5A193D #1D5A19 #195A56
monochromatic
#180710 #2A0C1D #5A193D #8A265D #BA347E

Accessibility & contrast

On white

12.80
#5A193D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A193D
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A193D#FFFFFF#000000##FFFFFF
##5A193D1.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3E
Deuteranopia (green-blind)
#35363B
Tritanopia (blue-blind)
#611628
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a193d;
/* rgb */ color: rgb(90, 25, 61);
/* oklch */ color: oklch(33.1% 0.103 350.0);
Tailwind
colors: {
  custom: {
    50: '#8c5b72',
    500: '#5a193d',
    950: '#000000',
  },
}
SCSS
$custom: #5a193d;
$custom-light: #8c5b72;
$custom-dark: #000000;
JSON
{
  "hex": "#5a193d",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 61
  },
  "hsl": {
    "h": 326.769,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33131,
    "c": 0.10339,
    "h": 350
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#5A193D
secondary
#3E9063
accent
#E08C48
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A193D

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

Preview Lab → · Contrast checker → · Palette generator →

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