#5A0F44#5A0F44

#5A0F44 is a dark, vivid pink. Relative luminance 0.029; OKLCH L 32.4% C 0.121 H 342.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5A0F44
RGBrgb(90, 15, 68)
HSLhsl(318, 71%, 21%)
HSVhsv(318, 83%, 35%)
CMYKcmyk(0%, 83.3%, 24.4%, 64.7%)
CIE-LABlab(19.77, 38.38, -13.35)
CIE-LCHlch(19.77, 40.64, 340.83°)
OKLaboklab(32.45% 0.1157 -0.0358)
OKLCHoklch(32.45% 0.121 342.8)
XYZxyz(5.4309, 2.9332, 5.7479)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F44 #0F5A25
analogous
#4A0F5A #5A0F44 #5A0F1E
triadic
#5A0F44 #445A0F #0F445A
tetradic
#5A0F44 #5A4A0F #0F5A25 #0F1E5A
square
#5A0F44 #5A4A0F #0F5A25 #0F1E5A
split-complementary
#5A0F44 #1E5A0F #0F5A4A
monochromatic
#1A0414 #26061C #5A0F44 #8E186C #C32093

Accessibility & contrast

On white

13.24
#5A0F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F44
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F44#FFFFFF#000000##FFFFFF
##5A0F441.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172845
Deuteranopia (green-blind)
#2F3442
Tritanopia (blue-blind)
#600F28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a0f44;
/* rgb */ color: rgb(90, 15, 68);
/* oklch */ color: oklch(32.4% 0.121 342.8);
Tailwind
colors: {
  custom: {
    50: '#8c5778',
    500: '#5a0f44',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f44;
$custom-light: #8c5778;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f44",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 317.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32449,
    "c": 0.1211,
    "h": 342.8
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#5A0F44
secondary
#31944E
accent
#EE6F3A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #5A0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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