#5C0F42#5C0F42

#5C0F42 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.7% C 0.121 H 345.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#5C0F42
RGBrgb(92, 15, 66)
HSLhsl(320, 72%, 21%)
HSVhsv(320, 84%, 36%)
CMYKcmyk(0%, 83.7%, 28.3%, 63.9%)
CIE-LABlab(20.09, 38.64, -11.45)
CIE-LCHlch(20.09, 40.30, 343.50°)
OKLaboklab(32.72% 0.1173 -0.0304)
OKLCHoklch(32.72% 0.121 345.5)
XYZxyz(5.5681, 3.0109, 5.4411)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F42 #0F5C29
analogous
#4F0F5C #5C0F42 #5C0F1B
triadic
#5C0F42 #425C0F #0F425C
tetradic
#5C0F42 #5C4F0F #0F5C29 #0F1B5C
square
#5C0F42 #5C4F0F #0F5C29 #0F1B5C
split-complementary
#5C0F42 #1B5C0F #0F5C4F
monochromatic
#1A0413 #27061C #5C0F42 #911868 #C5208D

Accessibility & contrast

On white

13.11
#5C0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C0F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F42
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F42#FFFFFF#000000##FFFFFF
##5C0F421.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2843
Deuteranopia (green-blind)
#313540
Tritanopia (blue-blind)
#630D27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c0f42;
/* rgb */ color: rgb(92, 15, 66);
/* oklch */ color: oklch(32.7% 0.121 345.5);
Tailwind
colors: {
  custom: {
    50: '#8d5776',
    500: '#5c0f42',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f42;
$custom-light: #8d5776;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f42",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 320.26,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3272,
    "c": 0.1212,
    "h": 345.5
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#5C0F42
secondary
#319553
accent
#EF7639
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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