#5C0E31#5C0E31

#5C0E31 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.113 H 359.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#5C0E31
RGBrgb(92, 14, 49)
HSLhsl(333, 74%, 21%)
HSVhsv(333, 85%, 36%)
CMYKcmyk(0%, 84.8%, 46.7%, 63.9%)
CIE-LABlab(19.27, 36.86, -0.76)
CIE-LCHlch(19.27, 36.87, 358.82°)
OKLaboklab(31.9% 0.1133 -0.0016)
OKLCHoklch(31.9% 0.113 359.2)
XYZxyz(5.1254, 2.8118, 3.1780)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0E31 #0E5C39
analogous
#5C0E58 #5C0E31 #5C120E
triadic
#5C0E31 #315C0E #0E315C
tetradic
#5C0E31 #585C0E #0E5C39 #120E5C
square
#5C0E31 #585C0E #0E5C39 #120E5C
split-complementary
#5C0E31 #0E5C12 #0E585C
monochromatic
#1B040E #270615 #5C0E31 #91164D #C61E6A

Accessibility & contrast

On white

13.44
#5C0E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C0E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0E31
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0E31#FFFFFF#000000##FFFFFF
##5C0E311.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202532
Deuteranopia (green-blind)
#35342F
Tritanopia (blue-blind)
#64011E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c0e31;
/* rgb */ color: rgb(92, 14, 49);
/* oklch */ color: oklch(31.9% 0.113 359.2);
Tailwind
colors: {
  custom: {
    50: '#8e5668',
    500: '#5c0e31',
    950: '#000000',
  },
}
SCSS
$custom: #5c0e31;
$custom-light: #8e5668;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0e31",
  "rgb": {
    "r": 92,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 333.077,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31898,
    "c": 0.11334,
    "h": 359.2
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#5C0E31
secondary
#309668
accent
#F09D38
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C0E31

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

Preview Lab → · Contrast checker → · Palette generator →

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