#5C0D28#5C0D28

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

Color values

HEX#5C0D28
RGBrgb(92, 13, 40)
HSLhsl(339, 75%, 21%)
HSVhsv(339, 86%, 36%)
CMYKcmyk(0%, 85.9%, 56.5%, 63.9%)
CIE-LABlab(18.87, 36.29, 5.07)
CIE-LCHlch(18.87, 36.64, 7.95°)
OKLaboklab(31.51% 0.1108 0.0131)
OKLCHoklch(31.51% 0.112 6.7)
XYZxyz(4.9410, 2.7171, 2.2713)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D28 #0D5C41
analogous
#5C0D4F #5C0D28 #5C1A0D
triadic
#5C0D28 #285C0D #0D285C
tetradic
#5C0D28 #4F5C0D #0D5C41 #1A0D5C
square
#5C0D28 #4F5C0D #0D5C41 #1A0D5C
split-complementary
#5C0D28 #0D5C1A #0D4F5C
monochromatic
#1B040C #260511 #5C0D28 #92153F #C71C57

Accessibility & contrast

On white

13.61
#5C0D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5C0D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0D28
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D28#FFFFFF#000000##FFFFFF
##5C0D281.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222429
Deuteranopia (green-blind)
#373326
Tritanopia (blue-blind)
#650019
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0d28;
/* rgb */ color: rgb(92, 13, 40);
/* oklch */ color: oklch(31.5% 0.112 6.7);
Tailwind
colors: {
  custom: {
    50: '#8f5661',
    500: '#5c0d28',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d28;
$custom-light: #8f5661;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d28",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 40
  },
  "hsl": {
    "h": 339.494,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.11154,
    "h": 6.7
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#5C0D28
secondary
#2F9673
accent
#F2B236
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C0D28

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

Preview Lab → · Contrast checker → · Palette generator →

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