#5A0F45#5A0F45

#5A0F45 is a dark, vivid pink. Relative luminance 0.029; OKLCH L 32.5% C 0.122 H 342.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5A0F45
RGBrgb(90, 15, 69)
HSLhsl(317, 71%, 21%)
HSVhsv(317, 83%, 35%)
CMYKcmyk(0%, 83.3%, 23.3%, 64.7%)
CIE-LABlab(19.82, 38.53, -13.96)
CIE-LCHlch(19.82, 40.98, 340.08°)
OKLaboklab(32.5% 0.1159 -0.0375)
OKLCHoklch(32.5% 0.122 342.1)
XYZxyz(5.4616, 2.9456, 5.9100)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F45 #0F5A24
analogous
#490F5A #5A0F45 #5A0F1F
triadic
#5A0F45 #455A0F #0F455A
tetradic
#5A0F45 #5A490F #0F5A24 #0F1F5A
square
#5A0F45 #5A490F #0F5A24 #0F1F5A
split-complementary
#5A0F45 #1F5A0F #0F5A49
monochromatic
#1A0414 #26061D #5A0F45 #8E186D #C32095

Accessibility & contrast

On white

13.22
#5A0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F45
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F45#FFFFFF#000000##FFFFFF
##5A0F451.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172846
Deuteranopia (green-blind)
#2F3443
Tritanopia (blue-blind)
#601029
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a0f45;
/* rgb */ color: rgb(90, 15, 69);
/* oklch */ color: oklch(32.5% 0.122 342.1);
Tailwind
colors: {
  custom: {
    50: '#8c5778',
    500: '#5a0f45',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f45;
$custom-light: #8c5778;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f45",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 316.8,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32501,
    "c": 0.12179,
    "h": 342.1
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#5A0F45
secondary
#31944D
accent
#EE6C3A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #5A0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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