#5A193E#5A193E

#5A193E is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.104 H 349.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5A193E
RGBrgb(90, 25, 62)
HSLhsl(326, 57%, 23%)
HSVhsv(326, 72%, 35%)
CMYKcmyk(0%, 72.2%, 31.1%, 64.7%)
CIE-LABlab(20.89, 33.59, -7.49)
CIE-LCHlch(20.89, 34.41, 347.43°)
OKLaboklab(33.17% 0.1021 -0.0196)
OKLCHoklch(33.17% 0.104 349.1)
XYZxyz(5.4338, 3.2173, 4.8913)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A193E #195A35
analogous
#55195A #5A193E #5A191E
triadic
#5A193E #3E5A19 #193E5A
tetradic
#5A193E #5A5519 #195A35 #191E5A
square
#5A193E #5A5519 #195A35 #191E5A
split-complementary
#5A193E #1E5A19 #195A55
monochromatic
#180710 #2A0C1D #5A193E #8A265F #BA3480

Accessibility & contrast

On white

12.78
#5A193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A193E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A193E#FFFFFF#000000##FFFFFF
##5A193E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3F
Deuteranopia (green-blind)
#34363C
Tritanopia (blue-blind)
#611629
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a193e;
/* rgb */ color: rgb(90, 25, 62);
/* oklch */ color: oklch(33.2% 0.104 349.1);
Tailwind
colors: {
  custom: {
    50: '#8b5b73',
    500: '#5a193e',
    950: '#000000',
  },
}
SCSS
$custom: #5a193e;
$custom-light: #8b5b73;
$custom-dark: #000000;
JSON
{
  "hex": "#5a193e",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 325.846,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33175,
    "c": 0.10399,
    "h": 349.1
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#5A193E
secondary
#3E9062
accent
#E08948
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A193E

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

Preview Lab → · Contrast checker → · Palette generator →

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