#5A113C#5A113C

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

Color values

HEX#5A113C
RGBrgb(90, 17, 60)
HSLhsl(325, 68%, 21%)
HSVhsv(325, 81%, 35%)
CMYKcmyk(0%, 81.1%, 33.3%, 64.7%)
CIE-LABlab(19.64, 36.57, -7.99)
CIE-LCHlch(19.64, 37.43, 347.68°)
OKLaboklab(32.23% 0.1117 -0.0209)
OKLCHoklch(32.23% 0.114 349.4)
XYZxyz(5.2328, 2.9014, 4.5585)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A113C #115A2F
analogous
#53115A #5A113C #5A1117
triadic
#5A113C #3C5A11 #113C5A
tetradic
#5A113C #5A5311 #115A2F #11175A
square
#5A113C #5A5311 #115A2F #11175A
split-complementary
#5A113C #175A11 #115A53
monochromatic
#1A0511 #27071A #5A113C #8D1B5E #C12481

Accessibility & contrast

On white

13.29
#5A113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A113C
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A113C#FFFFFF#000000##FFFFFF
##5A113C1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a113c;
/* rgb */ color: rgb(90, 17, 60);
/* oklch */ color: oklch(32.2% 0.114 349.4);
Tailwind
colors: {
  custom: {
    50: '#8c5771',
    500: '#5a113c',
    950: '#000000',
  },
}
SCSS
$custom: #5a113c;
$custom-light: #8c5771;
$custom-dark: #000000;
JSON
{
  "hex": "#5a113c",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 324.658,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32233,
    "c": 0.11367,
    "h": 349.4
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#5A113C
secondary
#34935B
accent
#EB843D
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A113C

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

Preview Lab → · Contrast checker → · Palette generator →

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