#5C0F4F#5C0F4F

#5C0F4F is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.130 H 336.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#5C0F4F
RGBrgb(92, 15, 79)
HSLhsl(310, 72%, 21%)
HSVhsv(310, 84%, 36%)
CMYKcmyk(0%, 83.7%, 14.1%, 63.9%)
CIE-LABlab(20.76, 40.60, -19.31)
CIE-LCHlch(20.76, 44.96, 334.56°)
OKLaboklab(33.42% 0.1193 -0.0527)
OKLCHoklch(33.42% 0.13 336.2)
XYZxyz(5.9958, 3.1820, 7.6940)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F4F #0F5C1C
analogous
#420F5C #5C0F4F #5C0F28
triadic
#5C0F4F #4F5C0F #0F4F5C
tetradic
#5C0F4F #5C420F #0F5C1C #0F285C
square
#5C0F4F #5C420F #0F5C1C #0F285C
split-complementary
#5C0F4F #285C0F #0F5C42
monochromatic
#1A0417 #270622 #5C0F4F #91187C #C520A9

Accessibility & contrast

On white

12.83
#5C0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5C0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F4F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F4F#FFFFFF#000000##FFFFFF
##5C0F4F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B51
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#61152E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0f4f;
/* rgb */ color: rgb(92, 15, 79);
/* oklch */ color: oklch(33.4% 0.130 336.2);
Tailwind
colors: {
  custom: {
    50: '#8d5880',
    500: '#5c0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f4f;
$custom-light: #8d5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f4f",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 310.13,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33422,
    "c": 0.13038,
    "h": 336.2
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#5C0F4F
secondary
#319542
accent
#EF5839
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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