#5C0F47#5C0F47

#5C0F47 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.0% C 0.125 H 341.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5C0F47
RGBrgb(92, 15, 71)
HSLhsl(316, 72%, 21%)
HSVhsv(316, 84%, 36%)
CMYKcmyk(0%, 83.7%, 22.8%, 63.9%)
CIE-LABlab(20.33, 39.36, -14.52)
CIE-LCHlch(20.33, 41.95, 339.76°)
OKLaboklab(32.98% 0.1183 -0.039)
OKLCHoklch(32.98% 0.125 341.7)
XYZxyz(5.7220, 3.0725, 6.2517)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F47 #0F5C24
analogous
#4A0F5C #5C0F47 #5C0F20
triadic
#5C0F47 #475C0F #0F475C
tetradic
#5C0F47 #5C4A0F #0F5C24 #0F205C
square
#5C0F47 #5C4A0F #0F5C24 #0F205C
split-complementary
#5C0F47 #205C0F #0F5C4A
monochromatic
#1A0414 #27061E #5C0F47 #911870 #C52098

Accessibility & contrast

On white

13.01
#5C0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5C0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F47
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F47#FFFFFF#000000##FFFFFF
##5C0F471.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#303545
Tritanopia (blue-blind)
#62102A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0f47;
/* rgb */ color: rgb(92, 15, 71);
/* oklch */ color: oklch(33.0% 0.125 341.7);
Tailwind
colors: {
  custom: {
    50: '#8d587a',
    500: '#5c0f47',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f47;
$custom-light: #8d587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f47",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 316.364,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32976,
    "c": 0.12455,
    "h": 341.7
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#5C0F47
secondary
#31954D
accent
#EF6B39
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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