#5C1228#5C1228

#5C1228 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.106 H 8.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#5C1228
RGBrgb(92, 18, 40)
HSLhsl(342, 67%, 22%)
HSVhsv(342, 80%, 36%)
CMYKcmyk(0%, 80.4%, 56.5%, 63.9%)
CIE-LABlab(19.48, 34.58, 5.92)
CIE-LCHlch(19.48, 35.08, 9.72°)
OKLaboklab(31.96% 0.1052 0.0152)
OKLCHoklch(31.96% 0.106 8.2)
XYZxyz(5.0134, 2.8618, 2.2955)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1228 #125C46
analogous
#5C124D #5C1228 #5C2112
triadic
#5C1228 #285C12 #12285C
tetradic
#5C1228 #4D5C12 #125C46 #21125C
square
#5C1228 #4D5C12 #125C46 #21125C
split-complementary
#5C1228 #125C21 #124D5C
monochromatic
#1A050B #290812 #5C1228 #8F1C3E #C22655

Accessibility & contrast

On white

13.36
#5C1228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1228
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1228#FFFFFF#000000##FFFFFF
##5C12281.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#383526
Tritanopia (blue-blind)
#65011B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1228;
/* rgb */ color: rgb(92, 18, 40);
/* oklch */ color: oklch(32.0% 0.106 8.2);
Tailwind
colors: {
  custom: {
    50: '#8f5761',
    500: '#5c1228',
    950: '#000000',
  },
}
SCSS
$custom: #5c1228;
$custom-light: #8f5761;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1228",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 342.162,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31958,
    "c": 0.10632,
    "h": 8.2
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#5C1228
secondary
#359478
accent
#EAB73E
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C1228

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

Preview Lab → · Contrast checker → · Palette generator →

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