#5A1132#5A1132

#5A1132 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.109 H 358.1°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#5A1132
RGBrgb(90, 17, 50)
HSLhsl(333, 68%, 21%)
HSVhsv(333, 81%, 35%)
CMYKcmyk(0%, 81.1%, 44.4%, 64.7%)
CIE-LABlab(19.25, 35.33, -1.56)
CIE-LCHlch(19.25, 35.37, 357.48°)
OKLaboklab(31.81% 0.1085 -0.0036)
OKLCHoklch(31.81% 0.109 358.1)
XYZxyz(4.9930, 2.8055, 3.2956)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1132 #115A39
analogous
#5A1156 #5A1132 #5A1511
triadic
#5A1132 #325A11 #11325A
tetradic
#5A1132 #565A11 #115A39 #15115A
square
#5A1132 #565A11 #115A39 #15115A
split-complementary
#5A1132 #115A15 #11565A
monochromatic
#1A050E #270715 #5A1132 #8D1B4F #C1246B

Accessibility & contrast

On white

13.45
#5A1132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A1132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1132
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1132#FFFFFF#000000##FFFFFF
##5A11321.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212633
Deuteranopia (green-blind)
#353430
Tritanopia (blue-blind)
#62061F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1132;
/* rgb */ color: rgb(90, 17, 50);
/* oklch */ color: oklch(31.8% 0.109 358.1);
Tailwind
colors: {
  custom: {
    50: '#8d5769',
    500: '#5a1132',
    950: '#000000',
  },
}
SCSS
$custom: #5a1132;
$custom-light: #8d5769;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1132",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 50
  },
  "hsl": {
    "h": 332.877,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31813,
    "c": 0.10859,
    "h": 358.1
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#5A1132
secondary
#349368
accent
#EB9C3D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A1132

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

Preview Lab → · Contrast checker → · Palette generator →

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