#5C0F48#5C0F48

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

Color values

HEX#5C0F48
RGBrgb(92, 15, 72)
HSLhsl(316, 72%, 21%)
HSVhsv(316, 84%, 36%)
CMYKcmyk(0%, 83.7%, 21.7%, 63.9%)
CIE-LABlab(20.38, 39.51, -15.12)
CIE-LCHlch(20.38, 42.30, 339.05°)
OKLaboklab(33.03% 0.1184 -0.0408)
OKLCHoklch(33.03% 0.125 341)
XYZxyz(5.7543, 3.0854, 6.4221)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F48 #0F5C23
analogous
#490F5C #5C0F48 #5C0F21
triadic
#5C0F48 #485C0F #0F485C
tetradic
#5C0F48 #5C490F #0F5C23 #0F215C
square
#5C0F48 #5C490F #0F5C23 #0F215C
split-complementary
#5C0F48 #215C0F #0F5C49
monochromatic
#1A0415 #27061F #5C0F48 #911871 #C5209A

Accessibility & contrast

On white

12.99
#5C0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F48
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F48#FFFFFF#000000##FFFFFF
##5C0F481.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162949
Deuteranopia (green-blind)
#2F3646
Tritanopia (blue-blind)
#62112A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0f48;
/* rgb */ color: rgb(92, 15, 72);
/* oklch */ color: oklch(33.0% 0.125 341.0);
Tailwind
colors: {
  custom: {
    50: '#8d587b',
    500: '#5c0f48',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f48;
$custom-light: #8d587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f48",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 315.584,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33029,
    "c": 0.12525,
    "h": 341
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#5C0F48
secondary
#31954B
accent
#EF6839
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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