#5C1028#5C1028

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

Color values

HEX#5C1028
RGBrgb(92, 16, 40)
HSLhsl(341, 70%, 21%)
HSVhsv(341, 83%, 36%)
CMYKcmyk(0%, 82.6%, 56.5%, 63.9%)
CIE-LABlab(19.22, 35.30, 5.56)
CIE-LCHlch(19.22, 35.74, 8.96°)
OKLaboklab(31.77% 0.1076 0.0143)
OKLCHoklch(31.77% 0.109 7.6)
XYZxyz(4.9824, 2.7998, 2.2851)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1028 #105C44
analogous
#5C104E #5C1028 #5C1E10
triadic
#5C1028 #285C10 #10285C
tetradic
#5C1028 #4E5C10 #105C44 #1E105C
square
#5C1028 #4E5C10 #105C44 #1E105C
split-complementary
#5C1028 #105C1E #104E5C
monochromatic
#1A050B #280711 #5C1028 #90193F #C42255

Accessibility & contrast

On white

13.46
#5C1028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1028
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1028#FFFFFF#000000##FFFFFF
##5C10281.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1028;
/* rgb */ color: rgb(92, 16, 40);
/* oklch */ color: oklch(31.8% 0.109 7.6);
Tailwind
colors: {
  custom: {
    50: '#8f5761',
    500: '#5c1028',
    950: '#000000',
  },
}
SCSS
$custom: #5c1028;
$custom-light: #8f5761;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1028",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 40
  },
  "hsl": {
    "h": 341.053,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31767,
    "c": 0.10852,
    "h": 7.6
  },
  "luminance": 0.02799
}

Semantic roles & 50–950 ramp

primary
#5C1028
secondary
#339576
accent
#EDB53B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C1028

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

Preview Lab → · Contrast checker → · Palette generator →

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