#5A113E#5A113E

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

Color values

HEX#5A113E
RGBrgb(90, 17, 62)
HSLhsl(323, 68%, 21%)
HSVhsv(323, 81%, 35%)
CMYKcmyk(0%, 81.1%, 31.1%, 64.7%)
CIE-LABlab(19.73, 36.84, -9.25)
CIE-LCHlch(19.73, 37.98, 345.90°)
OKLaboklab(32.33% 0.1123 -0.0244)
OKLCHoklch(32.33% 0.115 347.8)
XYZxyz(5.2867, 2.9230, 4.8423)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A113E #115A2D
analogous
#51115A #5A113E #5A1119
triadic
#5A113E #3E5A11 #113E5A
tetradic
#5A113E #5A5111 #115A2D #11195A
square
#5A113E #5A5111 #115A2D #11195A
split-complementary
#5A113E #195A11 #115A51
monochromatic
#1A0512 #27071B #5A113E #8D1B61 #C12485

Accessibility & contrast

On white

13.25
#5A113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A113E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A113E#FFFFFF#000000##FFFFFF
##5A113E1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C283F
Deuteranopia (green-blind)
#32343C
Tritanopia (blue-blind)
#610E26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a113e;
/* rgb */ color: rgb(90, 17, 62);
/* oklch */ color: oklch(32.3% 0.115 347.8);
Tailwind
colors: {
  custom: {
    50: '#8c5873',
    500: '#5a113e',
    950: '#000000',
  },
}
SCSS
$custom: #5a113e;
$custom-light: #8c5873;
$custom-dark: #000000;
JSON
{
  "hex": "#5a113e",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 323.014,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.11486,
    "h": 347.8
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#5A113E
secondary
#349358
accent
#EB803D
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A113E

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

Preview Lab → · Contrast checker → · Palette generator →

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