#5C0D2A#5C0D2A

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

Color values

HEX#5C0D2A
RGBrgb(92, 13, 42)
HSLhsl(338, 75%, 21%)
HSVhsv(338, 86%, 36%)
CMYKcmyk(0%, 85.9%, 54.3%, 63.9%)
CIE-LABlab(18.93, 36.47, 3.73)
CIE-LCHlch(18.93, 36.66, 5.83°)
OKLaboklab(31.57% 0.1116 0.0098)
OKLCHoklch(31.57% 0.112 5)
XYZxyz(4.9759, 2.7310, 2.4552)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D2A #0D5C3F
analogous
#5C0D51 #5C0D2A #5C180D
triadic
#5C0D2A #2A5C0D #0D2A5C
tetradic
#5C0D2A #515C0D #0D5C3F #180D5C
square
#5C0D2A #515C0D #0D5C3F #180D5C
split-complementary
#5C0D2A #0D5C18 #0D515C
monochromatic
#1B040C #260512 #5C0D2A #921542 #C71C5B

Accessibility & contrast

On white

13.58
#5C0D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0D2A
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D2A#FFFFFF#000000##FFFFFF
##5C0D2A1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#363428
Tritanopia (blue-blind)
#65001A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0d2a;
/* rgb */ color: rgb(92, 13, 42);
/* oklch */ color: oklch(31.6% 0.112 5.0);
Tailwind
colors: {
  custom: {
    50: '#8f5663',
    500: '#5c0d2a',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d2a;
$custom-light: #8f5663;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d2a",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 42
  },
  "hsl": {
    "h": 337.975,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31572,
    "c": 0.11204,
    "h": 5
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#5C0D2A
secondary
#2F9670
accent
#F2AD36
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C0D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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