#5C0D2F#5C0D2F

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

Color values

HEX#5C0D2F
RGBrgb(92, 13, 47)
HSLhsl(334, 75%, 21%)
HSVhsv(334, 86%, 36%)
CMYKcmyk(0%, 85.9%, 48.9%, 63.9%)
CIE-LABlab(19.09, 36.96, 0.40)
CIE-LCHlch(19.09, 36.96, 0.61°)
OKLaboklab(31.74% 0.1136 0.0014)
OKLCHoklch(31.74% 0.114 0.7)
XYZxyz(5.0711, 2.7691, 2.9562)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D2F #0D5C3A
analogous
#5C0D56 #5C0D2F #5C120D
triadic
#5C0D2F #2F5C0D #0D2F5C
tetradic
#5C0D2F #565C0D #0D5C3A #120D5C
square
#5C0D2F #565C0D #0D5C3A #120D5C
split-complementary
#5C0D2F #0D5C12 #0D565C
monochromatic
#1B040E #260514 #5C0D2F #92154A #C71C66

Accessibility & contrast

On white

13.52
#5C0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0D2F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D2F#FFFFFF#000000##FFFFFF
##5C0D2F1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202530
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#65001C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0d2f;
/* rgb */ color: rgb(92, 13, 47);
/* oklch */ color: oklch(31.7% 0.114 0.7);
Tailwind
colors: {
  custom: {
    50: '#8f5667',
    500: '#5c0d2f',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d2f;
$custom-light: #8f5667;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d2f",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 47
  },
  "hsl": {
    "h": 334.177,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31743,
    "c": 0.1136,
    "h": 0.7
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#5C0D2F
secondary
#2F966A
accent
#F2A136
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C0D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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