#5A0F37#5A0F37

#5A0F37 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.113 H 353.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#5A0F37
RGBrgb(90, 15, 55)
HSLhsl(328, 71%, 21%)
HSVhsv(328, 83%, 35%)
CMYKcmyk(0%, 83.3%, 38.9%, 64.7%)
CIE-LABlab(19.19, 36.63, -5.17)
CIE-LCHlch(19.19, 36.99, 351.96°)
OKLaboklab(31.83% 0.1125 -0.0132)
OKLCHoklch(31.83% 0.113 353.3)
XYZxyz(5.0772, 2.7918, 3.8852)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F37 #0F5A32
analogous
#570F5A #5A0F37 #5A0F11
triadic
#5A0F37 #375A0F #0F375A
tetradic
#5A0F37 #5A570F #0F5A32 #0F115A
square
#5A0F37 #5A570F #0F5A32 #0F115A
split-complementary
#5A0F37 #115A0F #0F5A57
monochromatic
#1A0410 #260617 #5A0F37 #8E1857 #C32077

Accessibility & contrast

On white

13.48
#5A0F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A0F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F37
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F37#FFFFFF#000000##FFFFFF
##5A0F371.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2638
Deuteranopia (green-blind)
#333335
Tritanopia (blue-blind)
#620721
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a0f37;
/* rgb */ color: rgb(90, 15, 55);
/* oklch */ color: oklch(31.8% 0.113 353.3);
Tailwind
colors: {
  custom: {
    50: '#8c566d',
    500: '#5a0f37',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f37;
$custom-light: #8c566d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f37",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 328,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31833,
    "c": 0.11324,
    "h": 353.3
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#5A0F37
secondary
#31945F
accent
#EE8E3A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0307
muted
#7D787A

Preview Lab

Preview with #5A0F37

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

Preview Lab → · Contrast checker → · Palette generator →

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