#5A1037#5A1037

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

Color values

HEX#5A1037
RGBrgb(90, 16, 55)
HSLhsl(328, 70%, 21%)
HSVhsv(328, 82%, 35%)
CMYKcmyk(0%, 82.2%, 38.9%, 64.7%)
CIE-LABlab(19.31, 36.28, -4.99)
CIE-LCHlch(19.31, 36.62, 352.17°)
OKLaboklab(31.92% 0.1114 -0.0127)
OKLCHoklch(31.92% 0.112 353.5)
XYZxyz(5.0917, 2.8207, 3.8900)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1037 #105A33
analogous
#58105A #5A1037 #5A1012
triadic
#5A1037 #375A10 #10375A
tetradic
#5A1037 #5A5810 #105A33 #10125A
square
#5A1037 #5A5810 #105A33 #10125A
split-complementary
#5A1037 #125A10 #105A58
monochromatic
#1A0510 #260717 #5A1037 #8E1957 #C22277

Accessibility & contrast

On white

13.43
#5A1037 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1037
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1037#FFFFFF#000000##FFFFFF
##5A10371.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2638
Deuteranopia (green-blind)
#333435
Tritanopia (blue-blind)
#620822
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1037;
/* rgb */ color: rgb(90, 16, 55);
/* oklch */ color: oklch(31.9% 0.112 353.5);
Tailwind
colors: {
  custom: {
    50: '#8c576d',
    500: '#5a1037',
    950: '#000000',
  },
}
SCSS
$custom: #5a1037;
$custom-light: #8c576d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1037",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 55
  },
  "hsl": {
    "h": 328.378,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31921,
    "c": 0.1121,
    "h": 353.5
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#5A1037
secondary
#339360
accent
#ED8F3B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0307
muted
#7D787A

Preview Lab

Preview with #5A1037

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

Preview Lab → · Contrast checker → · Palette generator →

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