#5A1043#5A1043

#5A1043 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.5% C 0.119 H 343.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5A1043
RGBrgb(90, 16, 67)
HSLhsl(319, 70%, 21%)
HSVhsv(319, 82%, 35%)
CMYKcmyk(0%, 82.2%, 25.6%, 64.7%)
CIE-LABlab(19.84, 37.90, -12.55)
CIE-LCHlch(19.84, 39.92, 341.68°)
OKLaboklab(32.48% 0.1145 -0.0336)
OKLCHoklch(32.48% 0.119 343.7)
XYZxyz(5.4151, 2.9501, 5.5933)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1043 #105A27
analogous
#4C105A #5A1043 #5A101E
triadic
#5A1043 #435A10 #10435A
tetradic
#5A1043 #5A4C10 #105A27 #101E5A
square
#5A1043 #5A4C10 #105A27 #101E5A
split-complementary
#5A1043 #1E5A10 #105A4C
monochromatic
#1A0513 #26071C #5A1043 #8E196A #C22290

Accessibility & contrast

On white

13.21
#5A1043 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5A1043 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1043
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1043#FFFFFF#000000##FFFFFF
##5A10431.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192844
Deuteranopia (green-blind)
#303441
Tritanopia (blue-blind)
#601028
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1043;
/* rgb */ color: rgb(90, 16, 67);
/* oklch */ color: oklch(32.5% 0.119 343.7);
Tailwind
colors: {
  custom: {
    50: '#8c5777',
    500: '#5a1043',
    950: '#000000',
  },
}
SCSS
$custom: #5a1043;
$custom-light: #8c5777;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1043",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 67
  },
  "hsl": {
    "h": 318.649,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32482,
    "c": 0.11929,
    "h": 343.7
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#5A1043
secondary
#339351
accent
#ED723B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A1043

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

Preview Lab → · Contrast checker → · Palette generator →

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