#5A1046#5A1046

#5A1046 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.6% C 0.121 H 341.4°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#5A1046
RGBrgb(90, 16, 70)
HSLhsl(316, 70%, 21%)
HSVhsv(316, 82%, 35%)
CMYKcmyk(0%, 82.2%, 22.2%, 64.7%)
CIE-LABlab(19.99, 38.34, -14.39)
CIE-LCHlch(19.99, 40.96, 339.43°)
OKLaboklab(32.64% 0.115 -0.0387)
OKLCHoklch(32.64% 0.121 341.4)
XYZxyz(5.5074, 2.9870, 6.0797)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1046 #105A24
analogous
#49105A #5A1046 #5A1021
triadic
#5A1046 #465A10 #10465A
tetradic
#5A1046 #5A4910 #105A24 #10215A
square
#5A1046 #5A4910 #105A24 #10215A
split-complementary
#5A1046 #215A10 #105A49
monochromatic
#1A0514 #26071E #5A1046 #8E196E #C22297

Accessibility & contrast

On white

13.15
#5A1046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A1046
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1046#FFFFFF#000000##FFFFFF
##5A10461.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1046;
/* rgb */ color: rgb(90, 16, 70);
/* oklch */ color: oklch(32.6% 0.121 341.4);
Tailwind
colors: {
  custom: {
    50: '#8c5779',
    500: '#5a1046',
    950: '#000000',
  },
}
SCSS
$custom: #5a1046;
$custom-light: #8c5779;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1046",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 316.216,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32639,
    "c": 0.12137,
    "h": 341.4
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#5A1046
secondary
#33934D
accent
#ED6B3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A1046

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

Preview Lab → · Contrast checker → · Palette generator →

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