#5C1127#5C1127

#5C1127 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.107 H 8.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#5C1127
RGBrgb(92, 17, 39)
HSLhsl(342, 69%, 21%)
HSVhsv(342, 82%, 36%)
CMYKcmyk(0%, 81.5%, 57.6%, 63.9%)
CIE-LABlab(19.32, 34.86, 6.41)
CIE-LCHlch(19.32, 35.44, 10.42°)
OKLaboklab(31.83% 0.106 0.0164)
OKLCHoklch(31.83% 0.107 8.8)
XYZxyz(4.9808, 2.8234, 2.2018)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1127 #115C46
analogous
#5C114D #5C1127 #5C2111
triadic
#5C1127 #275C11 #11275C
tetradic
#5C1127 #4D5C11 #115C46 #21115C
square
#5C1127 #4D5C11 #115C46 #21115C
split-complementary
#5C1127 #115C21 #114D5C
monochromatic
#1A050B #280711 #5C1127 #901B3D #C32453

Accessibility & contrast

On white

13.42
#5C1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1127
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1127#FFFFFF#000000##FFFFFF
##5C11271.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242527
Deuteranopia (green-blind)
#383425
Tritanopia (blue-blind)
#65001A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1127;
/* rgb */ color: rgb(92, 17, 39);
/* oklch */ color: oklch(31.8% 0.107 8.8);
Tailwind
colors: {
  custom: {
    50: '#8f5760',
    500: '#5c1127',
    950: '#000000',
  },
}
SCSS
$custom: #5c1127;
$custom-light: #8f5760;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1127",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 342.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.10725,
    "h": 8.8
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#5C1127
secondary
#349578
accent
#ECB83C
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C1127

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

Preview Lab → · Contrast checker → · Palette generator →

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