#5A0F46#5A0F46

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

Color values

HEX#5A0F46
RGBrgb(90, 15, 70)
HSLhsl(316, 71%, 21%)
HSVhsv(316, 83%, 35%)
CMYKcmyk(0%, 83.3%, 22.2%, 64.7%)
CIE-LABlab(19.88, 38.68, -14.57)
CIE-LCHlch(19.88, 41.33, 339.36°)
OKLaboklab(32.55% 0.116 -0.0392)
OKLCHoklch(32.55% 0.122 341.3)
XYZxyz(5.4929, 2.9581, 6.0748)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F46 #0F5A23
analogous
#480F5A #5A0F46 #5A0F20
triadic
#5A0F46 #465A0F #0F465A
tetradic
#5A0F46 #5A480F #0F5A23 #0F205A
square
#5A0F46 #5A480F #0F5A23 #0F205A
split-complementary
#5A0F46 #205A0F #0F5A48
monochromatic
#1A0414 #26061D #5A0F46 #8E186F #C32098

Accessibility & contrast

On white

13.19
#5A0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A0F46
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F46#FFFFFF#000000##FFFFFF
##5A0F461.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162847
Deuteranopia (green-blind)
#2E3444
Tritanopia (blue-blind)
#601129
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a0f46;
/* rgb */ color: rgb(90, 15, 70);
/* oklch */ color: oklch(32.6% 0.122 341.3);
Tailwind
colors: {
  custom: {
    50: '#8c5779',
    500: '#5a0f46',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f46;
$custom-light: #8c5779;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f46",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 316,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32554,
    "c": 0.12249,
    "h": 341.3
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#5A0F46
secondary
#31944B
accent
#EE6A3A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0309
muted
#7D787B

Preview Lab

Preview with #5A0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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