#5C0F31#5C0F31

#5C0F31 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.112 H 359.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#5C0F31
RGBrgb(92, 15, 49)
HSLhsl(334, 72%, 21%)
HSVhsv(334, 84%, 36%)
CMYKcmyk(0%, 83.7%, 46.7%, 63.9%)
CIE-LABlab(19.39, 36.53, -0.59)
CIE-LCHlch(19.39, 36.54, 359.07°)
OKLaboklab(31.98% 0.1123 -0.0011)
OKLCHoklch(31.98% 0.112 359.4)
XYZxyz(5.1392, 2.8394, 3.1826)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F31 #0F5C3A
analogous
#5C0F57 #5C0F31 #5C130F
triadic
#5C0F31 #315C0F #0F315C
tetradic
#5C0F31 #575C0F #0F5C3A #130F5C
square
#5C0F31 #575C0F #0F5C3A #130F5C
split-complementary
#5C0F31 #0F5C13 #0F575C
monochromatic
#1A040E #270615 #5C0F31 #91184D #C52069

Accessibility & contrast

On white

13.39
#5C0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C0F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F31
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F31#FFFFFF#000000##FFFFFF
##5C0F311.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212632
Deuteranopia (green-blind)
#36342F
Tritanopia (blue-blind)
#64021E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0f31;
/* rgb */ color: rgb(92, 15, 49);
/* oklch */ color: oklch(32.0% 0.112 359.4);
Tailwind
colors: {
  custom: {
    50: '#8e5768',
    500: '#5c0f31',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f31;
$custom-light: #8e5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f31",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 333.506,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31982,
    "c": 0.11229,
    "h": 359.4
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#5C0F31
secondary
#319569
accent
#EF9F39
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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