#5A0F43#5A0F43

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

Color values

HEX#5A0F43
RGBrgb(90, 15, 67)
HSLhsl(318, 71%, 21%)
HSVhsv(318, 83%, 35%)
CMYKcmyk(0%, 83.3%, 25.6%, 64.7%)
CIE-LABlab(19.73, 38.24, -12.73)
CIE-LCHlch(19.73, 40.30, 341.58°)
OKLaboklab(32.4% 0.1155 -0.034)
OKLCHoklch(32.4% 0.12 343.6)
XYZxyz(5.4006, 2.9211, 5.5885)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F43 #0F5A26
analogous
#4B0F5A #5A0F43 #5A0F1D
triadic
#5A0F43 #435A0F #0F435A
tetradic
#5A0F43 #5A4B0F #0F5A26 #0F1D5A
square
#5A0F43 #5A4B0F #0F5A26 #0F1D5A
split-complementary
#5A0F43 #1D5A0F #0F5A4B
monochromatic
#1A0414 #26061C #5A0F43 #8E186A #C32091

Accessibility & contrast

On white

13.26
#5A0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A0F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F43
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F43#FFFFFF#000000##FFFFFF
##5A0F431.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a0f43;
/* rgb */ color: rgb(90, 15, 67);
/* oklch */ color: oklch(32.4% 0.120 343.6);
Tailwind
colors: {
  custom: {
    50: '#8c5777',
    500: '#5a0f43',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f43;
$custom-light: #8c5777;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f43",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 318.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32397,
    "c": 0.12041,
    "h": 343.6
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#5A0F43
secondary
#31944F
accent
#EE713A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B

Preview Lab

Preview with #5A0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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