#5C0D2B#5C0D2B

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

Color values

HEX#5C0D2B
RGBrgb(92, 13, 43)
HSLhsl(337, 75%, 21%)
HSVhsv(337, 86%, 36%)
CMYKcmyk(0%, 85.9%, 53.3%, 63.9%)
CIE-LABlab(18.96, 36.57, 3.06)
CIE-LCHlch(18.96, 36.69, 4.78°)
OKLaboklab(31.61% 0.112 0.0081)
OKLCHoklch(31.61% 0.112 4.2)
XYZxyz(4.9940, 2.7383, 2.5506)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0D2B #0D5C3E
analogous
#5C0D52 #5C0D2B #5C160D
triadic
#5C0D2B #2B5C0D #0D2B5C
tetradic
#5C0D2B #525C0D #0D5C3E #160D5C
square
#5C0D2B #525C0D #0D5C3E #160D5C
split-complementary
#5C0D2B #0D5C16 #0D525C
monochromatic
#1B040D #260512 #5C0D2B #921544 #C71C5D

Accessibility & contrast

On white

13.57
#5C0D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0D2B
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0D2B#FFFFFF#000000##FFFFFF
##5C0D2B1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#363429
Tritanopia (blue-blind)
#65001A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0d2b;
/* rgb */ color: rgb(92, 13, 43);
/* oklch */ color: oklch(31.6% 0.112 4.2);
Tailwind
colors: {
  custom: {
    50: '#8f5664',
    500: '#5c0d2b',
    950: '#000000',
  },
}
SCSS
$custom: #5c0d2b;
$custom-light: #8f5664;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0d2b",
  "rgb": {
    "r": 92,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 337.215,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31605,
    "c": 0.11232,
    "h": 4.2
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#5C0D2B
secondary
#2F966F
accent
#F2AA36
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C0D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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