#5C0E4F#5C0E4F

#5C0E4F is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.131 H 336.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5C0E4F
RGBrgb(92, 14, 79)
HSLhsl(310, 74%, 21%)
HSVhsv(310, 85%, 36%)
CMYKcmyk(0%, 84.8%, 14.1%, 63.9%)
CIE-LABlab(20.65, 40.90, -19.48)
CIE-LCHlch(20.65, 45.30, 334.54°)
OKLaboklab(33.35% 0.1202 -0.0532)
OKLCHoklch(33.35% 0.131 336.1)
XYZxyz(5.9821, 3.1545, 7.6894)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E4F #0E5C1B
analogous
#420E5C #5C0E4F #5C0E28
triadic
#5C0E4F #4F5C0E #0E4F5C
tetradic
#5C0E4F #5C420E #0E5C1B #0E285C
square
#5C0E4F #5C420E #0E5C1B #0E285C
split-complementary
#5C0E4F #285C0E #0E5C42
monochromatic
#1B0417 #270621 #5C0E4F #91167D #C61EAA

Accessibility & contrast

On white

12.88
#5C0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5C0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0E4F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E4F#FFFFFF#000000##FFFFFF
##5C0E4F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A51
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#61142E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0e4f;
/* rgb */ color: rgb(92, 14, 79);
/* oklch */ color: oklch(33.3% 0.131 336.1);
Tailwind
colors: {
  custom: {
    50: '#8d5880',
    500: '#5c0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e4f;
$custom-light: #8d5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e4f",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 310,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33346,
    "c": 0.1314,
    "h": 336.1
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#5C0E4F
secondary
#309641
accent
#F05638
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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