#5A193F#5A193F

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

Color values

HEX#5A193F
RGBrgb(90, 25, 63)
HSLhsl(325, 57%, 23%)
HSVhsv(325, 72%, 35%)
CMYKcmyk(0%, 72.2%, 30%, 64.7%)
CIE-LABlab(20.94, 33.73, -8.11)
CIE-LCHlch(20.94, 34.70, 346.48°)
OKLaboklab(33.22% 0.1024 -0.0213)
OKLCHoklch(33.22% 0.105 348.2)
XYZxyz(5.4615, 3.2284, 5.0372)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A193F #195A34
analogous
#54195A #5A193F #5A191E
triadic
#5A193F #3F5A19 #193F5A
tetradic
#5A193F #5A5419 #195A34 #191E5A
square
#5A193F #5A5419 #195A34 #191E5A
split-complementary
#5A193F #1E5A19 #195A54
monochromatic
#180711 #2A0C1D #5A193F #8A2661 #BA3482

Accessibility & contrast

On white

12.76
#5A193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5A193F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A193F
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A193F#FFFFFF#000000##FFFFFF
##5A193F1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#34363D
Tritanopia (blue-blind)
#611729
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a193f;
/* rgb */ color: rgb(90, 25, 63);
/* oklch */ color: oklch(33.2% 0.105 348.2);
Tailwind
colors: {
  custom: {
    50: '#8b5b74',
    500: '#5a193f',
    950: '#000000',
  },
}
SCSS
$custom: #5a193f;
$custom-light: #8b5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5a193f",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 324.923,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3322,
    "c": 0.10461,
    "h": 348.2
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#5A193F
secondary
#3E9060
accent
#E08748
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A193F

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

Preview Lab → · Contrast checker → · Palette generator →

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