#5A1133#5A1133

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

Color values

HEX#5A1133
RGBrgb(90, 17, 51)
HSLhsl(332, 68%, 21%)
HSVhsv(332, 81%, 35%)
CMYKcmyk(0%, 81.1%, 43.3%, 64.7%)
CIE-LABlab(19.28, 35.45, -2.21)
CIE-LCHlch(19.28, 35.52, 356.43°)
OKLaboklab(31.85% 0.1089 -0.0054)
OKLCHoklch(31.85% 0.109 357.2)
XYZxyz(5.0148, 2.8142, 3.4104)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1133 #115A38
analogous
#5A1157 #5A1133 #5A1411
triadic
#5A1133 #335A11 #11335A
tetradic
#5A1133 #575A11 #115A38 #14115A
square
#5A1133 #575A11 #115A38 #14115A
split-complementary
#5A1133 #115A14 #11575A
monochromatic
#1A050F #270716 #5A1133 #8D1B50 #C1246D

Accessibility & contrast

On white

13.44
#5A1133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1133
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1133#FFFFFF#000000##FFFFFF
##5A11331.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202634
Deuteranopia (green-blind)
#343431
Tritanopia (blue-blind)
#620720
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1133;
/* rgb */ color: rgb(90, 17, 51);
/* oklch */ color: oklch(31.9% 0.109 357.2);
Tailwind
colors: {
  custom: {
    50: '#8c576a',
    500: '#5a1133',
    950: '#000000',
  },
}
SCSS
$custom: #5a1133;
$custom-light: #8c576a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1133",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 332.055,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31851,
    "c": 0.10902,
    "h": 357.2
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#5A1133
secondary
#349367
accent
#EB9A3D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0306
muted
#7D787A

Preview Lab

Preview with #5A1133

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

Preview Lab → · Contrast checker → · Palette generator →

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