#5C0F4E#5C0F4E

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

Color values

HEX#5C0F4E
RGBrgb(92, 15, 78)
HSLhsl(311, 72%, 21%)
HSVhsv(311, 84%, 36%)
CMYKcmyk(0%, 83.7%, 15.2%, 63.9%)
CIE-LABlab(20.70, 40.44, -18.72)
CIE-LCHlch(20.70, 44.56, 335.16°)
OKLaboklab(33.36% 0.1192 -0.051)
OKLCHoklch(33.36% 0.13 336.8)
XYZxyz(5.9597, 3.1676, 7.5038)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F4E #0F5C1D
analogous
#430F5C #5C0F4E #5C0F27
triadic
#5C0F4E #4E5C0F #0F4E5C
tetradic
#5C0F4E #5C430F #0F5C1D #0F275C
square
#5C0F4E #5C430F #0F5C1D #0F275C
split-complementary
#5C0F4E #275C0F #0F5C43
monochromatic
#1A0416 #270621 #5C0F4E #91187B #C520A7

Accessibility & contrast

On white

12.86
#5C0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F4E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F4E#FFFFFF#000000##FFFFFF
##5C0F4E1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A50
Deuteranopia (green-blind)
#2D364C
Tritanopia (blue-blind)
#61152E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0f4e;
/* rgb */ color: rgb(92, 15, 78);
/* oklch */ color: oklch(33.4% 0.130 336.8);
Tailwind
colors: {
  custom: {
    50: '#8d5880',
    500: '#5c0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f4e;
$custom-light: #8d5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f4e",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 310.909,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33364,
    "c": 0.12962,
    "h": 336.8
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#5C0F4E
secondary
#319544
accent
#EF5A39
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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