#5A1032#5A1032

#5A1032 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.110 H 357.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#5A1032
RGBrgb(90, 16, 50)
HSLhsl(332, 70%, 21%)
HSVhsv(332, 82%, 35%)
CMYKcmyk(0%, 82.2%, 44.4%, 64.7%)
CIE-LABlab(19.12, 35.69, -1.74)
CIE-LCHlch(19.12, 35.73, 357.20°)
OKLaboklab(31.72% 0.1097 -0.0041)
OKLCHoklch(31.72% 0.11 357.8)
XYZxyz(4.9778, 2.7752, 3.2905)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1032 #105A38
analogous
#5A1057 #5A1032 #5A1310
triadic
#5A1032 #325A10 #10325A
tetradic
#5A1032 #575A10 #105A38 #13105A
square
#5A1032 #575A10 #105A38 #13105A
split-complementary
#5A1032 #105A13 #10575A
monochromatic
#1A050E #260715 #5A1032 #8E194F #C2226C

Accessibility & contrast

On white

13.50
#5A1032 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1032
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1032#FFFFFF#000000##FFFFFF
##5A10321.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202633
Deuteranopia (green-blind)
#343330
Tritanopia (blue-blind)
#62051F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a1032;
/* rgb */ color: rgb(90, 16, 50);
/* oklch */ color: oklch(31.7% 0.110 357.8);
Tailwind
colors: {
  custom: {
    50: '#8d5769',
    500: '#5a1032',
    950: '#000000',
  },
}
SCSS
$custom: #5a1032;
$custom-light: #8d5769;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1032",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 50
  },
  "hsl": {
    "h": 332.432,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31719,
    "c": 0.10976,
    "h": 357.8
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#5A1032
secondary
#339367
accent
#ED9B3B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5A1032

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

Preview Lab → · Contrast checker → · Palette generator →

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