#5C0E4D#5C0E4D

#5C0E4D is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.2% C 0.130 H 337.5°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5C0E4D
RGBrgb(92, 14, 77)
HSLhsl(312, 74%, 21%)
HSVhsv(312, 85%, 36%)
CMYKcmyk(0%, 84.8%, 16.3%, 63.9%)
CIE-LABlab(20.54, 40.59, -18.29)
CIE-LCHlch(20.54, 44.52, 335.74°)
OKLaboklab(33.23% 0.12 -0.0498)
OKLCHoklch(33.23% 0.13 337.5)
XYZxyz(5.9104, 3.1258, 7.3118)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E4D #0E5C1D
analogous
#440E5C #5C0E4D #5C0E26
triadic
#5C0E4D #4D5C0E #0E4D5C
tetradic
#5C0E4D #5C440E #0E5C1D #0E265C
square
#5C0E4D #5C440E #0E5C1D #0E265C
split-complementary
#5C0E4D #265C0E #0E5C44
monochromatic
#1B0416 #270621 #5C0E4D #911679 #C61EA6

Accessibility & contrast

On white

12.92
#5C0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0E4D
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E4D#FFFFFF#000000##FFFFFF
##5C0E4D1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A4F
Deuteranopia (green-blind)
#2D364B
Tritanopia (blue-blind)
#61132D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0e4d;
/* rgb */ color: rgb(92, 14, 77);
/* oklch */ color: oklch(33.2% 0.130 337.5);
Tailwind
colors: {
  custom: {
    50: '#8d577f',
    500: '#5c0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e4d;
$custom-light: #8d577f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e4d",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 311.538,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3323,
    "c": 0.12991,
    "h": 337.5
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#5C0E4D
secondary
#309644
accent
#F05B38
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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