#5C1129#5C1129

#5C1129 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.108 H 7.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#5C1129
RGBrgb(92, 17, 41)
HSLhsl(341, 69%, 21%)
HSVhsv(341, 82%, 36%)
CMYKcmyk(0%, 81.5%, 55.4%, 63.9%)
CIE-LABlab(19.38, 35.04, 5.07)
CIE-LCHlch(19.38, 35.40, 8.24°)
OKLaboklab(31.89% 0.1069 0.0131)
OKLCHoklch(31.89% 0.108 7)
XYZxyz(5.0148, 2.8370, 2.3809)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1129 #115C44
analogous
#5C114F #5C1129 #5C1F11
triadic
#5C1129 #295C11 #11295C
tetradic
#5C1129 #4F5C11 #115C44 #1F115C
square
#5C1129 #4F5C11 #115C44 #1F115C
split-complementary
#5C1129 #115C1F #114F5C
monochromatic
#1A050C #280712 #5C1129 #901B40 #C32457

Accessibility & contrast

On white

13.40
#5C1129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5C1129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1129
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1129#FFFFFF#000000##FFFFFF
##5C11291.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242529
Deuteranopia (green-blind)
#383427
Tritanopia (blue-blind)
#65001B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1129;
/* rgb */ color: rgb(92, 17, 41);
/* oklch */ color: oklch(31.9% 0.108 7.0);
Tailwind
colors: {
  custom: {
    50: '#8f5762',
    500: '#5c1129',
    950: '#000000',
  },
}
SCSS
$custom: #5c1129;
$custom-light: #8f5762;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1129",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 340.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31891,
    "c": 0.10765,
    "h": 7
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#5C1129
secondary
#349576
accent
#ECB33C
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C1129

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

Preview Lab → · Contrast checker → · Palette generator →

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