#5C0F4C#5C0F4C

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

Color values

HEX#5C0F4C
RGBrgb(92, 15, 76)
HSLhsl(312, 72%, 21%)
HSVhsv(312, 84%, 36%)
CMYKcmyk(0%, 83.7%, 17.4%, 63.9%)
CIE-LABlab(20.59, 40.12, -17.53)
CIE-LCHlch(20.59, 43.78, 336.40°)
OKLaboklab(33.25% 0.119 -0.0476)
OKLCHoklch(33.25% 0.128 338.2)
XYZxyz(5.8891, 3.1393, 7.1319)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F4C #0F5C1F
analogous
#450F5C #5C0F4C #5C0F25
triadic
#5C0F4C #4C5C0F #0F4C5C
tetradic
#5C0F4C #5C450F #0F5C1F #0F255C
square
#5C0F4C #5C450F #0F5C1F #0F255C
split-complementary
#5C0F4C #255C0F #0F5C45
monochromatic
#1A0416 #270621 #5C0F4C #911877 #C520A3

Accessibility & contrast

On white

12.90
#5C0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F4C
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F4C#FFFFFF#000000##FFFFFF
##5C0F4C1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4E
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#62132D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0f4c;
/* rgb */ color: rgb(92, 15, 76);
/* oklch */ color: oklch(33.3% 0.128 338.2);
Tailwind
colors: {
  custom: {
    50: '#8d587e',
    500: '#5c0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f4c;
$custom-light: #8d587e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f4c",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 312.468,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3325,
    "c": 0.12813,
    "h": 338.2
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#5C0F4C
secondary
#319546
accent
#EF5F39
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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