#5A183C#5A183C

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

Color values

HEX#5A183C
RGBrgb(90, 24, 60)
HSLhsl(327, 58%, 22%)
HSVhsv(327, 73%, 35%)
CMYKcmyk(0%, 73.3%, 33.3%, 64.7%)
CIE-LABlab(20.65, 33.76, -6.47)
CIE-LCHlch(20.65, 34.37, 349.15°)
OKLaboklab(32.97% 0.1029 -0.0168)
OKLCHoklch(32.97% 0.104 350.7)
XYZxyz(5.3590, 3.1538, 4.6006)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A183C #185A36
analogous
#57185A #5A183C #5A181B
triadic
#5A183C #3C5A18 #183C5A
tetradic
#5A183C #5A5718 #185A36 #181B5A
square
#5A183C #5A5718 #185A36 #181B5A
split-complementary
#5A183C #1B5A18 #185A57
monochromatic
#180610 #2A0B1C #5A183C #8A255C #BB327C

Accessibility & contrast

On white

12.88
#5A183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A183C
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A183C#FFFFFF#000000##FFFFFF
##5A183C1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222A3D
Deuteranopia (green-blind)
#35363A
Tritanopia (blue-blind)
#611427
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5a183c;
/* rgb */ color: rgb(90, 24, 60);
/* oklch */ color: oklch(33.0% 0.104 350.7);
Tailwind
colors: {
  custom: {
    50: '#8c5b71',
    500: '#5a183c',
    950: '#000000',
  },
}
SCSS
$custom: #5a183c;
$custom-light: #8c5b71;
$custom-dark: #000000;
JSON
{
  "hex": "#5a183c",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 327.273,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32969,
    "c": 0.10428,
    "h": 350.7
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#5A183C
secondary
#3D9163
accent
#E18D47
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A183C

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

Preview Lab → · Contrast checker → · Palette generator →

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