#5C0D31#5C0D31

#5C0D31 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.114 H 359.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#5C0D31
RGBrgb(92, 13, 49)
HSLhsl(333, 75%, 21%)
HSVhsv(333, 86%, 36%)
CMYKcmyk(0%, 85.9%, 46.7%, 63.9%)
CIE-LABlab(19.16, 37.17, -0.92)
CIE-LCHlch(19.16, 37.18, 358.58°)
OKLaboklab(31.82% 0.1143 -0.002)
OKLCHoklch(31.82% 0.114 359)
XYZxyz(5.1123, 2.7856, 3.1736)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D31 #0D5C38
analogous
#5C0D58 #5C0D31 #5C100D
triadic
#5C0D31 #315C0D #0D315C
tetradic
#5C0D31 #585C0D #0D5C38 #100D5C
square
#5C0D31 #585C0D #0D5C38 #100D5C
split-complementary
#5C0D31 #0D5C10 #0D585C
monochromatic
#1B040E #260514 #5C0D31 #92154E #C71C6A

Accessibility & contrast

On white

13.49
#5C0D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0D31
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D31#FFFFFF#000000##FFFFFF
##5C0D311.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202532
Deuteranopia (green-blind)
#35342F
Tritanopia (blue-blind)
#64001D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0d31;
/* rgb */ color: rgb(92, 13, 49);
/* oklch */ color: oklch(31.8% 0.114 359.0);
Tailwind
colors: {
  custom: {
    50: '#8e5668',
    500: '#5c0d31',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d31;
$custom-light: #8e5668;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d31",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 332.658,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31817,
    "c": 0.11435,
    "h": 359
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#5C0D31
secondary
#2F9667
accent
#F29C36
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C0D31

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

Preview Lab → · Contrast checker → · Palette generator →

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