#5A0F49#5A0F49

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

Color values

HEX#5A0F49
RGBrgb(90, 15, 73)
HSLhsl(314, 71%, 21%)
HSVhsv(314, 83%, 35%)
CMYKcmyk(0%, 83.3%, 18.9%, 64.7%)
CIE-LABlab(20.03, 39.14, -16.39)
CIE-LCHlch(20.03, 42.43, 337.28°)
OKLaboklab(32.72% 0.1165 -0.0444)
OKLCHoklch(32.72% 0.125 339.1)
XYZxyz(5.5900, 2.9969, 6.5861)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F49 #0F5A20
analogous
#450F5A #5A0F49 #5A0F23
triadic
#5A0F49 #495A0F #0F495A
tetradic
#5A0F49 #5A450F #0F5A20 #0F235A
square
#5A0F49 #5A450F #0F5A20 #0F235A
split-complementary
#5A0F49 #235A0F #0F5A45
monochromatic
#1A0415 #26061E #5A0F49 #8E1874 #C3209E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A0F49#FFFFFF#000000##FFFFFF
##5A0F491.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)
#14294B
Deuteranopia (green-blind)
#2D3547
Tritanopia (blue-blind)
#60122B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a0f49;
/* rgb */ color: rgb(90, 15, 73);
/* oklch */ color: oklch(32.7% 0.125 339.1);
Tailwind
colors: {
  custom: {
    50: '#8c577c',
    500: '#5a0f49',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f49;
$custom-light: #8c577c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f49",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 313.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32718,
    "c": 0.12465,
    "h": 339.1
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#5A0F49
secondary
#319448
accent
#EE633A
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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