#5C1140#5C1140

#5C1140 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.8% C 0.118 H 347.2°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#5C1140
RGBrgb(92, 17, 64)
HSLhsl(322, 69%, 21%)
HSVhsv(322, 82%, 36%)
CMYKcmyk(0%, 81.5%, 30.4%, 63.9%)
CIE-LABlab(20.23, 37.69, -9.84)
CIE-LCHlch(20.23, 38.96, 345.37°)
OKLaboklab(32.79% 0.1148 -0.026)
OKLCHoklch(32.79% 0.118 347.2)
XYZxyz(5.5398, 3.0470, 5.1459)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1140 #115C2D
analogous
#53115C #5C1140 #5C111B
triadic
#5C1140 #405C11 #11405C
tetradic
#5C1140 #5C5311 #115C2D #111B5C
square
#5C1140 #5C5311 #115C2D #111B5C
split-complementary
#5C1140 #1B5C11 #115C53
monochromatic
#1A0512 #28071C #5C1140 #901B64 #C32488

Accessibility & contrast

On white

13.05
#5C1140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5C1140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1140
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1140#FFFFFF#000000##FFFFFF
##5C11401.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2941
Deuteranopia (green-blind)
#32353E
Tritanopia (blue-blind)
#630E27
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1140;
/* rgb */ color: rgb(92, 17, 64);
/* oklch */ color: oklch(32.8% 0.118 347.2);
Tailwind
colors: {
  custom: {
    50: '#8d5874',
    500: '#5c1140',
    950: '#000000',
  },
}
SCSS
$custom: #5c1140;
$custom-light: #8d5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1140",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 64
  },
  "hsl": {
    "h": 322.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32794,
    "c": 0.11768,
    "h": 347.2
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#5C1140
secondary
#349558
accent
#EC7E3C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C1140

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

Preview Lab → · Contrast checker → · Palette generator →

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