#5A0F35#5A0F35

#5A0F35 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.112 H 355.0°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#5A0F35
RGBrgb(90, 15, 53)
HSLhsl(330, 71%, 21%)
HSVhsv(330, 83%, 35%)
CMYKcmyk(0%, 83.3%, 41.1%, 64.7%)
CIE-LABlab(19.11, 36.38, -3.88)
CIE-LCHlch(19.11, 36.59, 353.91°)
OKLaboklab(31.75% 0.1118 -0.0098)
OKLCHoklch(31.75% 0.112 355)
XYZxyz(5.0302, 2.7730, 3.6378)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A0F35 #0F5A34
analogous
#590F5A #5A0F35 #5A0F0F
triadic
#5A0F35 #355A0F #0F355A
tetradic
#5A0F35 #5A590F #0F5A34 #0F0F5A
square
#5A0F35 #5A590F #0F5A34 #0F0F5A
split-complementary
#5A0F35 #0F5A0F #0F5A59
monochromatic
#1A040F #260616 #5A0F35 #8E1854 #C32073

Accessibility & contrast

On white

13.51
#5A0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5A0F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A0F35
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A0F35#FFFFFF#000000##FFFFFF
##5A0F351.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2636
Deuteranopia (green-blind)
#333333
Tritanopia (blue-blind)
#620620
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5a0f35;
/* rgb */ color: rgb(90, 15, 53);
/* oklch */ color: oklch(31.7% 0.112 355.0);
Tailwind
colors: {
  custom: {
    50: '#8c566c',
    500: '#5a0f35',
    950: '#000000',
  },
}
SCSS
$custom: #5a0f35;
$custom-light: #8c566c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a0f35",
  "rgb": {
    "r": 90,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 329.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31749,
    "c": 0.11225,
    "h": 355
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#5A0F35
secondary
#319462
accent
#EE933A
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0306
muted
#7D787A

Preview Lab

Preview with #5A0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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