#5C1038#5C1038

#5C1038 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.114 H 353.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5C1038
RGBrgb(92, 16, 56)
HSLhsl(328, 70%, 21%)
HSVhsv(328, 83%, 36%)
CMYKcmyk(0%, 82.6%, 39.1%, 63.9%)
CIE-LABlab(19.77, 37.00, -4.96)
CIE-LCHlch(19.77, 37.33, 352.36°)
OKLaboklab(32.35% 0.1136 -0.0127)
OKLCHoklch(32.35% 0.114 353.6)
XYZxyz(5.3131, 2.9321, 4.0268)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1038 #105C34
analogous
#5A105C #5C1038 #5C1012
triadic
#5C1038 #385C10 #10385C
tetradic
#5C1038 #5C5A10 #105C34 #10125C
square
#5C1038 #5C5A10 #105C34 #10125C
split-complementary
#5C1038 #125C10 #105C5A
monochromatic
#1A0510 #280718 #5C1038 #901958 #C42277

Accessibility & contrast

On white

13.24
#5C1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5C1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1038
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1038#FFFFFF#000000##FFFFFF
##5C10381.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2739
Deuteranopia (green-blind)
#343536
Tritanopia (blue-blind)
#640722
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5c1038;
/* rgb */ color: rgb(92, 16, 56);
/* oklch */ color: oklch(32.3% 0.114 353.6);
Tailwind
colors: {
  custom: {
    50: '#8e576e',
    500: '#5c1038',
    950: '#000000',
  },
}
SCSS
$custom: #5c1038;
$custom-light: #8e576e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1038",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 328.421,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32346,
    "c": 0.11431,
    "h": 353.6
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#5C1038
secondary
#339561
accent
#ED8F3B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5C1038

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

Preview Lab → · Contrast checker → · Palette generator →

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