#5A183E#5A183E

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

Color values

HEX#5A183E
RGBrgb(90, 24, 62)
HSLhsl(325, 58%, 22%)
HSVhsv(325, 73%, 35%)
CMYKcmyk(0%, 73.3%, 31.1%, 64.7%)
CIE-LABlab(20.73, 34.04, -7.73)
CIE-LCHlch(20.73, 34.90, 347.20°)
OKLaboklab(33.06% 0.1035 -0.0202)
OKLCHoklch(33.06% 0.105 348.9)
XYZxyz(5.4128, 3.1753, 4.8843)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A183E #185A34
analogous
#55185A #5A183E #5A181D
triadic
#5A183E #3E5A18 #183E5A
tetradic
#5A183E #5A5518 #185A34 #181D5A
square
#5A183E #5A5518 #185A34 #181D5A
split-complementary
#5A183E #1D5A18 #185A55
monochromatic
#180611 #2A0B1D #5A183E #8A255F #BB3281

Accessibility & contrast

On white

12.84
#5A183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A183E
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A183E#FFFFFF#000000##FFFFFF
##5A183E1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a183e;
/* rgb */ color: rgb(90, 24, 62);
/* oklch */ color: oklch(33.1% 0.105 348.9);
Tailwind
colors: {
  custom: {
    50: '#8c5b73',
    500: '#5a183e',
    950: '#000000',
  },
}
SCSS
$custom: #5a183e;
$custom-light: #8c5b73;
$custom-dark: #000000;
JSON
{
  "hex": "#5a183e",
  "rgb": {
    "r": 90,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 325.455,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33057,
    "c": 0.10548,
    "h": 348.9
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#5A183E
secondary
#3D9161
accent
#E18847
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A183E

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

Preview Lab → · Contrast checker → · Palette generator →

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