#5A113D#5A113D

#5A113D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.114 H 348.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#5A113D
RGBrgb(90, 17, 61)
HSLhsl(324, 68%, 21%)
HSVhsv(324, 81%, 35%)
CMYKcmyk(0%, 81.1%, 32.2%, 64.7%)
CIE-LABlab(19.69, 36.70, -8.62)
CIE-LCHlch(19.69, 37.70, 346.78°)
OKLaboklab(32.28% 0.112 -0.0226)
OKLCHoklch(32.28% 0.114 348.6)
XYZxyz(5.2595, 2.9121, 4.6991)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A113D #115A2E
analogous
#52115A #5A113D #5A1118
triadic
#5A113D #3D5A11 #113D5A
tetradic
#5A113D #5A5211 #115A2E #11185A
square
#5A113D #5A5211 #115A2E #11185A
split-complementary
#5A113D #185A11 #115A52
monochromatic
#1A0511 #27071A #5A113D #8D1B60 #C12483

Accessibility & contrast

On white

13.27
#5A113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A113D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A113D#FFFFFF#000000##FFFFFF
##5A113D1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273E
Deuteranopia (green-blind)
#32343B
Tritanopia (blue-blind)
#610D25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a113d;
/* rgb */ color: rgb(90, 17, 61);
/* oklch */ color: oklch(32.3% 0.114 348.6);
Tailwind
colors: {
  custom: {
    50: '#8c5772',
    500: '#5a113d',
    950: '#000000',
  },
}
SCSS
$custom: #5a113d;
$custom-light: #8c5772;
$custom-dark: #000000;
JSON
{
  "hex": "#5a113d",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 323.836,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32279,
    "c": 0.11426,
    "h": 348.6
  },
  "luminance": 0.02911
}

Semantic roles & 50–950 ramp

primary
#5A113D
secondary
#34935A
accent
#EB823D
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A113D

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

Preview Lab → · Contrast checker → · Palette generator →

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