#5C0F4D#5C0F4D

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

Color values

HEX#5C0F4D
RGBrgb(92, 15, 77)
HSLhsl(312, 72%, 21%)
HSVhsv(312, 84%, 36%)
CMYKcmyk(0%, 83.7%, 16.3%, 63.9%)
CIE-LABlab(20.65, 40.28, -18.12)
CIE-LCHlch(20.65, 44.17, 335.77°)
OKLaboklab(33.31% 0.1191 -0.0493)
OKLCHoklch(33.31% 0.129 337.5)
XYZxyz(5.9241, 3.1534, 7.3164)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F4D #0F5C1E
analogous
#440F5C #5C0F4D #5C0F26
triadic
#5C0F4D #4D5C0F #0F4D5C
tetradic
#5C0F4D #5C440F #0F5C1E #0F265C
square
#5C0F4D #5C440F #0F5C1E #0F265C
split-complementary
#5C0F4D #265C0F #0F5C44
monochromatic
#1A0416 #270621 #5C0F4D #911879 #C520A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C0F4D#FFFFFF#000000##FFFFFF
##5C0F4D1.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)
#122A4F
Deuteranopia (green-blind)
#2D364B
Tritanopia (blue-blind)
#61142D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c0f4d;
/* rgb */ color: rgb(92, 15, 77);
/* oklch */ color: oklch(33.3% 0.129 337.5);
Tailwind
colors: {
  custom: {
    50: '#8d587f',
    500: '#5c0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f4d;
$custom-light: #8d587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f4d",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 311.688,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33307,
    "c": 0.12887,
    "h": 337.5
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#5C0F4D
secondary
#319545
accent
#EF5C39
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5C0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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