#5C0E4A#5C0E4A

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

Color values

HEX#5C0E4A
RGBrgb(92, 14, 74)
HSLhsl(314, 74%, 21%)
HSVhsv(314, 85%, 36%)
CMYKcmyk(0%, 84.8%, 19.6%, 63.9%)
CIE-LABlab(20.38, 40.12, -16.50)
CIE-LCHlch(20.38, 43.38, 337.65°)
OKLaboklab(33.06% 0.1197 -0.0447)
OKLCHoklch(33.06% 0.128 339.5)
XYZxyz(5.8069, 3.0844, 6.7668)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E4A #0E5C20
analogous
#470E5C #5C0E4A #5C0E23
triadic
#5C0E4A #4A5C0E #0E4A5C
tetradic
#5C0E4A #5C470E #0E5C20 #0E235C
square
#5C0E4A #5C470E #0E5C20 #0E235C
split-complementary
#5C0E4A #235C0E #0E5C47
monochromatic
#1B0415 #27061F #5C0E4A #911675 #C61E9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C0E4A#FFFFFF#000000##FFFFFF
##5C0E4A1.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)
#14294C
Deuteranopia (green-blind)
#2E3548
Tritanopia (blue-blind)
#62112B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c0e4a;
/* rgb */ color: rgb(92, 14, 74);
/* oklch */ color: oklch(33.1% 0.128 339.5);
Tailwind
colors: {
  custom: {
    50: '#8d577c',
    500: '#5c0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e4a;
$custom-light: #8d577c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e4a",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 313.846,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.12772,
    "h": 339.5
  },
  "luminance": 0.03084
}

Semantic roles & 50–950 ramp

primary
#5C0E4A
secondary
#309647
accent
#F06238
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5C0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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