#5A113B#5A113B

#5A113B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.113 H 350.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#5A113B
RGBrgb(90, 17, 59)
HSLhsl(325, 68%, 21%)
HSVhsv(325, 81%, 35%)
CMYKcmyk(0%, 81.1%, 34.4%, 64.7%)
CIE-LABlab(19.60, 36.44, -7.36)
CIE-LCHlch(19.60, 37.17, 348.58°)
OKLaboklab(32.19% 0.1115 -0.0192)
OKLCHoklch(32.19% 0.113 350.2)
XYZxyz(5.2066, 2.8909, 4.4206)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A113B #115A30
analogous
#54115A #5A113B #5A1117
triadic
#5A113B #3B5A11 #113B5A
tetradic
#5A113B #5A5411 #115A30 #11175A
square
#5A113B #5A5411 #115A30 #11175A
split-complementary
#5A113B #175A11 #115A54
monochromatic
#1A0511 #270719 #5A113B #8D1B5D #C1247E

Accessibility & contrast

On white

13.31
#5A113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A113B
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A113B#FFFFFF#000000##FFFFFF
##5A113B1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#323439
Tritanopia (blue-blind)
#610C24
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a113b;
/* rgb */ color: rgb(90, 17, 59);
/* oklch */ color: oklch(32.2% 0.113 350.2);
Tailwind
colors: {
  custom: {
    50: '#8c5771',
    500: '#5a113b',
    950: '#000000',
  },
}
SCSS
$custom: #5a113b;
$custom-light: #8c5771;
$custom-dark: #000000;
JSON
{
  "hex": "#5a113b",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 325.479,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.11309,
    "h": 350.2
  },
  "luminance": 0.0289
}

Semantic roles & 50–950 ramp

primary
#5A113B
secondary
#34935C
accent
#EB873D
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A113B

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

Preview Lab → · Contrast checker → · Palette generator →

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