#5A1047#5A1047

#5A1047 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.7% C 0.122 H 340.6°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5A1047
RGBrgb(90, 16, 71)
HSLhsl(315, 70%, 21%)
HSVhsv(315, 82%, 35%)
CMYKcmyk(0%, 82.2%, 21.1%, 64.7%)
CIE-LABlab(20.04, 38.50, -15.00)
CIE-LCHlch(20.04, 41.31, 338.72°)
OKLaboklab(32.69% 0.1152 -0.0404)
OKLCHoklch(32.69% 0.122 340.6)
XYZxyz(5.5392, 2.9997, 6.2473)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1047 #105A23
analogous
#48105A #5A1047 #5A1022
triadic
#5A1047 #475A10 #10475A
tetradic
#5A1047 #5A4810 #105A23 #10225A
square
#5A1047 #5A4810 #105A23 #10225A
split-complementary
#5A1047 #225A10 #105A48
monochromatic
#1A0514 #26071E #5A1047 #8E1970 #C22299

Accessibility & contrast

On white

13.13
#5A1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A1047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1047
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1047#FFFFFF#000000##FFFFFF
##5A10471.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162948
Deuteranopia (green-blind)
#2E3545
Tritanopia (blue-blind)
#60122A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1047;
/* rgb */ color: rgb(90, 16, 71);
/* oklch */ color: oklch(32.7% 0.122 340.6);
Tailwind
colors: {
  custom: {
    50: '#8c587a',
    500: '#5a1047',
    950: '#000000',
  },
}
SCSS
$custom: #5a1047;
$custom-light: #8c587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1047",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 315.405,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32692,
    "c": 0.12208,
    "h": 340.6
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#5A1047
secondary
#33934B
accent
#ED693B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A1047

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

Preview Lab → · Contrast checker → · Palette generator →

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