#5A0F3C#5A0F3C

#5A0F3C is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.1% C 0.116 H 349.1°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#5A0F3C
RGBrgb(90, 15, 60)
HSLhsl(324, 71%, 21%)
HSVhsv(324, 83%, 35%)
CMYKcmyk(0%, 83.3%, 33.3%, 64.7%)
CIE-LABlab(19.40, 37.26, -8.36)
CIE-LCHlch(19.40, 38.19, 347.35°)
OKLaboklab(32.06% 0.1139 -0.0219)
OKLCHoklch(32.06% 0.116 349.1)
XYZxyz(5.2032, 2.8422, 4.5487)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F3C #0F5A2D
analogous
#520F5A #5A0F3C #5A0F16
triadic
#5A0F3C #3C5A0F #0F3C5A
tetradic
#5A0F3C #5A520F #0F5A2D #0F165A
square
#5A0F3C #5A520F #0F5A2D #0F165A
split-complementary
#5A0F3C #165A0F #0F5A52
monochromatic
#1A0411 #260619 #5A0F3C #8E185F #C32082

Accessibility & contrast

On white

13.39
#5A0F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A0F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F3C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F3C#FFFFFF#000000##FFFFFF
##5A0F3C1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273D
Deuteranopia (green-blind)
#32343A
Tritanopia (blue-blind)
#610A24
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a0f3c;
/* rgb */ color: rgb(90, 15, 60);
/* oklch */ color: oklch(32.1% 0.116 349.1);
Tailwind
colors: {
  custom: {
    50: '#8c5771',
    500: '#5a0f3c',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f3c;
$custom-light: #8c5771;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f3c",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 324,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32055,
    "c": 0.11599,
    "h": 349.1
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#5A0F3C
secondary
#319459
accent
#EE823A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0307
muted
#7D787A

Preview Lab

Preview with #5A0F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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