#5C0F4A#5C0F4A

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

Color values

HEX#5C0F4A
RGBrgb(92, 15, 74)
HSLhsl(314, 72%, 21%)
HSVhsv(314, 84%, 36%)
CMYKcmyk(0%, 83.7%, 19.6%, 63.9%)
CIE-LABlab(20.49, 39.81, -16.33)
CIE-LCHlch(20.49, 43.03, 337.70°)
OKLaboklab(33.14% 0.1187 -0.0442)
OKLCHoklch(33.14% 0.127 339.6)
XYZxyz(5.8207, 3.1120, 6.7714)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F4A #0F5C21
analogous
#470F5C #5C0F4A #5C0F23
triadic
#5C0F4A #4A5C0F #0F4A5C
tetradic
#5C0F4A #5C470F #0F5C21 #0F235C
square
#5C0F4A #5C470F #0F5C21 #0F235C
split-complementary
#5C0F4A #235C0F #0F5C47
monochromatic
#1A0415 #270620 #5C0F4A #911874 #C5209F

Accessibility & contrast

On white

12.95
#5C0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F4A
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F4A#FFFFFF#000000##FFFFFF
##5C0F4A1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#2E3648
Tritanopia (blue-blind)
#62122B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0f4a;
/* rgb */ color: rgb(92, 15, 74);
/* oklch */ color: oklch(33.1% 0.127 339.6);
Tailwind
colors: {
  custom: {
    50: '#8d587c',
    500: '#5c0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f4a;
$custom-light: #8d587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f4a",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 314.026,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33138,
    "c": 0.12668,
    "h": 339.6
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#5C0F4A
secondary
#319549
accent
#EF6439
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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