#5C0F49#5C0F49

#5C0F49 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.126 H 340.3°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#5C0F49
RGBrgb(92, 15, 73)
HSLhsl(315, 72%, 21%)
HSVhsv(315, 84%, 36%)
CMYKcmyk(0%, 83.7%, 20.7%, 63.9%)
CIE-LABlab(20.43, 39.66, -15.73)
CIE-LCHlch(20.43, 42.66, 338.37°)
OKLaboklab(33.08% 0.1186 -0.0425)
OKLCHoklch(33.08% 0.126 340.3)
XYZxyz(5.7872, 3.0986, 6.5953)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F49 #0F5C22
analogous
#480F5C #5C0F49 #5C0F22
triadic
#5C0F49 #495C0F #0F495C
tetradic
#5C0F49 #5C480F #0F5C22 #0F225C
square
#5C0F49 #5C480F #0F5C22 #0F225C
split-complementary
#5C0F49 #225C0F #0F5C48
monochromatic
#1A0415 #27061F #5C0F49 #911873 #C5209D

Accessibility & contrast

On white

12.97
#5C0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5C0F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F49
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F49#FFFFFF#000000##FFFFFF
##5C0F491.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15294B
Deuteranopia (green-blind)
#2F3647
Tritanopia (blue-blind)
#62122B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0f49;
/* rgb */ color: rgb(92, 15, 73);
/* oklch */ color: oklch(33.1% 0.126 340.3);
Tailwind
colors: {
  custom: {
    50: '#8d587c',
    500: '#5c0f49',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f49;
$custom-light: #8d587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f49",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 314.805,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33084,
    "c": 0.12596,
    "h": 340.3
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#5C0F49
secondary
#31954A
accent
#EF6639
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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