#5C0D2C#5C0D2C

#5C0D2C is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.113 H 3.3°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#5C0D2C
RGBrgb(92, 13, 44)
HSLhsl(336, 75%, 21%)
HSVhsv(336, 86%, 36%)
CMYKcmyk(0%, 85.9%, 52.2%, 63.9%)
CIE-LABlab(19.00, 36.66, 2.39)
CIE-LCHlch(19.00, 36.74, 3.73°)
OKLaboklab(31.64% 0.1124 0.0065)
OKLCHoklch(31.64% 0.113 3.3)
XYZxyz(5.0126, 2.7457, 2.6484)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D2C #0D5C3D
analogous
#5C0D53 #5C0D2C #5C160D
triadic
#5C0D2C #2C5C0D #0D2C5C
tetradic
#5C0D2C #535C0D #0D5C3D #160D5C
square
#5C0D2C #535C0D #0D5C3D #160D5C
split-complementary
#5C0D2C #0D5C16 #0D535C
monochromatic
#1B040D #260512 #5C0D2C #921546 #C71C5F

Accessibility & contrast

On white

13.56
#5C0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5C0D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0D2C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D2C#FFFFFF#000000##FFFFFF
##5C0D2C1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242D
Deuteranopia (green-blind)
#36342A
Tritanopia (blue-blind)
#65001B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0d2c;
/* rgb */ color: rgb(92, 13, 44);
/* oklch */ color: oklch(31.6% 0.113 3.3);
Tailwind
colors: {
  custom: {
    50: '#8f5664',
    500: '#5c0d2c',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d2c;
$custom-light: #8f5664;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d2c",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 336.456,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31638,
    "c": 0.11261,
    "h": 3.3
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#5C0D2C
secondary
#2F966E
accent
#F2A836
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5C0D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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