#5C1031#5C1031

#5C1031 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.111 H 359.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#5C1031
RGBrgb(92, 16, 49)
HSLhsl(334, 70%, 21%)
HSVhsv(334, 83%, 36%)
CMYKcmyk(0%, 82.6%, 46.7%, 63.9%)
CIE-LABlab(19.51, 36.19, -0.42)
CIE-LCHlch(19.51, 36.20, 359.34°)
OKLaboklab(32.07% 0.1112 -0.0007)
OKLCHoklch(32.07% 0.111 359.7)
XYZxyz(5.1537, 2.8683, 3.1874)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1031 #105C3B
analogous
#5C1057 #5C1031 #5C1510
triadic
#5C1031 #315C10 #10315C
tetradic
#5C1031 #575C10 #105C3B #15105C
square
#5C1031 #575C10 #105C3B #15105C
split-complementary
#5C1031 #105C15 #10575C
monochromatic
#1A050E #280715 #5C1031 #90194D #C42269

Accessibility & contrast

On white

13.35
#5C1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1031
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1031#FFFFFF#000000##FFFFFF
##5C10311.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212632
Deuteranopia (green-blind)
#36342F
Tritanopia (blue-blind)
#64031F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1031;
/* rgb */ color: rgb(92, 16, 49);
/* oklch */ color: oklch(32.1% 0.111 359.7);
Tailwind
colors: {
  custom: {
    50: '#8e5768',
    500: '#5c1031',
    950: '#000000',
  },
}
SCSS
$custom: #5c1031;
$custom-light: #8e5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1031",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 333.947,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.11119,
    "h": 359.7
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#5C1031
secondary
#33956A
accent
#EDA03B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C1031

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

Preview Lab → · Contrast checker → · Palette generator →

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