#5A113A#5A113A

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

Color values

HEX#5A113A
RGBrgb(90, 17, 58)
HSLhsl(326, 68%, 21%)
HSVhsv(326, 81%, 35%)
CMYKcmyk(0%, 81.1%, 35.6%, 64.7%)
CIE-LABlab(19.56, 36.31, -6.72)
CIE-LCHlch(19.56, 36.92, 349.51°)
OKLaboklab(32.14% 0.1112 -0.0174)
OKLCHoklch(32.14% 0.113 351.1)
XYZxyz(5.1809, 2.8807, 4.2854)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A113A #115A31
analogous
#55115A #5A113A #5A1116
triadic
#5A113A #3A5A11 #113A5A
tetradic
#5A113A #5A5511 #115A31 #11165A
square
#5A113A #5A5511 #115A31 #11165A
split-complementary
#5A113A #165A11 #115A55
monochromatic
#1A0511 #270719 #5A113A #8D1B5B #C1247C

Accessibility & contrast

On white

13.32
#5A113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A113A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A113A#FFFFFF#000000##FFFFFF
##5A113A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273B
Deuteranopia (green-blind)
#333438
Tritanopia (blue-blind)
#610B23
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a113a;
/* rgb */ color: rgb(90, 17, 58);
/* oklch */ color: oklch(32.1% 0.113 351.1);
Tailwind
colors: {
  custom: {
    50: '#8c5770',
    500: '#5a113a',
    950: '#000000',
  },
}
SCSS
$custom: #5a113a;
$custom-light: #8c5770;
$custom-dark: #000000;
JSON
{
  "hex": "#5a113a",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 326.301,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.11252,
    "h": 351.1
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#5A113A
secondary
#34935E
accent
#EB893D
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #5A113A

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

Preview Lab → · Contrast checker → · Palette generator →

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