#5A1332#5A1332

#5A1332 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.106 H 358.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#5A1332
RGBrgb(90, 19, 50)
HSLhsl(334, 65%, 21%)
HSVhsv(334, 79%, 35%)
CMYKcmyk(0%, 78.9%, 44.4%, 64.7%)
CIE-LABlab(19.52, 34.57, -1.16)
CIE-LCHlch(19.52, 34.59, 358.08°)
OKLaboklab(32.01% 0.1061 -0.0026)
OKLCHoklch(32.01% 0.106 358.6)
XYZxyz(5.0254, 2.8703, 3.3064)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1332 #135A3B
analogous
#5A1356 #5A1332 #5A1813
triadic
#5A1332 #325A13 #13325A
tetradic
#5A1332 #565A13 #135A3B #18135A
square
#5A1332 #565A13 #135A3B #18135A
split-complementary
#5A1332 #135A18 #13565A
monochromatic
#19050E #270816 #5A1332 #8D1E4E #BF286A

Accessibility & contrast

On white

13.34
#5A1332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A1332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1332
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1332#FFFFFF#000000##FFFFFF
##5A13321.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222733
Deuteranopia (green-blind)
#353430
Tritanopia (blue-blind)
#620920
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1332;
/* rgb */ color: rgb(90, 19, 50);
/* oklch */ color: oklch(32.0% 0.106 358.6);
Tailwind
colors: {
  custom: {
    50: '#8c5869',
    500: '#5a1332',
    950: '#000000',
  },
}
SCSS
$custom: #5a1332;
$custom-light: #8c5869;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1332",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 50
  },
  "hsl": {
    "h": 333.803,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3201,
    "c": 0.10615,
    "h": 358.6
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#5A1332
secondary
#37926A
accent
#E89F40
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5A1332

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

Preview Lab → · Contrast checker → · Palette generator →

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