#5C1126#5C1126

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

Color values

HEX#5C1126
RGBrgb(92, 17, 38)
HSLhsl(343, 69%, 21%)
HSVhsv(343, 82%, 36%)
CMYKcmyk(0%, 81.5%, 58.7%, 63.9%)
CIE-LABlab(19.30, 34.77, 7.09)
CIE-LCHlch(19.30, 35.48, 11.52°)
OKLaboklab(31.8% 0.1056 0.018)
OKLCHoklch(31.8% 0.107 9.7)
XYZxyz(4.9644, 2.8169, 2.1156)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1126 #115C47
analogous
#5C114C #5C1126 #5C2211
triadic
#5C1126 #265C11 #11265C
tetradic
#5C1126 #4C5C11 #115C47 #22115C
square
#5C1126 #4C5C11 #115C47 #22115C
split-complementary
#5C1126 #115C22 #114C5C
monochromatic
#1A050B #280711 #5C1126 #901B3B #C32451

Accessibility & contrast

On white

13.43
#5C1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1126
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1126#FFFFFF#000000##FFFFFF
##5C11261.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1126;
/* rgb */ color: rgb(92, 17, 38);
/* oklch */ color: oklch(31.8% 0.107 9.7);
Tailwind
colors: {
  custom: {
    50: '#8f5760',
    500: '#5c1126',
    950: '#000000',
  },
}
SCSS
$custom: #5c1126;
$custom-light: #8f5760;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1126",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 343.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31802,
    "c": 0.10708,
    "h": 9.7
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#5C1126
secondary
#34957A
accent
#ECBB3C
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5C1126

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

Preview Lab → · Contrast checker → · Palette generator →

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