#5A113F#5A113F

#5A113F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.115 H 346.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5A113F
RGBrgb(90, 17, 63)
HSLhsl(322, 68%, 21%)
HSVhsv(322, 81%, 35%)
CMYKcmyk(0%, 81.1%, 30%, 64.7%)
CIE-LABlab(19.78, 36.98, -9.88)
CIE-LCHlch(19.78, 38.28, 345.05°)
OKLaboklab(32.37% 0.1125 -0.0261)
OKLCHoklch(32.37% 0.115 346.9)
XYZxyz(5.3144, 2.9340, 4.9881)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A113F #115A2C
analogous
#50115A #5A113F #5A111A
triadic
#5A113F #3F5A11 #113F5A
tetradic
#5A113F #5A5011 #115A2C #111A5A
square
#5A113F #5A5011 #115A2C #111A5A
split-complementary
#5A113F #1A5A11 #115A50
monochromatic
#1A0512 #27071B #5A113F #8D1B63 #C12487

Accessibility & contrast

On white

13.24
#5A113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5A113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A113F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A113F#FFFFFF#000000##FFFFFF
##5A113F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2840
Deuteranopia (green-blind)
#31343D
Tritanopia (blue-blind)
#610E26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a113f;
/* rgb */ color: rgb(90, 17, 63);
/* oklch */ color: oklch(32.4% 0.115 346.9);
Tailwind
colors: {
  custom: {
    50: '#8c5874',
    500: '#5a113f',
    950: '#000000',
  },
}
SCSS
$custom: #5a113f;
$custom-light: #8c5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5a113f",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 322.192,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32374,
    "c": 0.11549,
    "h": 346.9
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#5A113F
secondary
#349357
accent
#EB7D3D
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A113F

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

Preview Lab → · Contrast checker → · Palette generator →

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