#5C1040#5C1040

#5C1040 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.119 H 347.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#5C1040
RGBrgb(92, 16, 64)
HSLhsl(322, 70%, 21%)
HSVhsv(322, 83%, 36%)
CMYKcmyk(0%, 82.6%, 30.4%, 63.9%)
CIE-LABlab(20.11, 38.03, -10.03)
CIE-LCHlch(20.11, 39.33, 345.23°)
OKLaboklab(32.71% 0.1158 -0.0265)
OKLCHoklch(32.71% 0.119 347.1)
XYZxyz(5.5246, 3.0167, 5.1408)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1040 #105C2C
analogous
#52105C #5C1040 #5C101A
triadic
#5C1040 #405C10 #10405C
tetradic
#5C1040 #5C5210 #105C2C #101A5C
square
#5C1040 #5C5210 #105C2C #101A5C
split-complementary
#5C1040 #1A5C10 #105C52
monochromatic
#1A0512 #28071C #5C1040 #901964 #C42289

Accessibility & contrast

On white

13.10
#5C1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5C1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1040
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1040#FFFFFF#000000##FFFFFF
##5C10401.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1040;
/* rgb */ color: rgb(92, 16, 64);
/* oklch */ color: oklch(32.7% 0.119 347.1);
Tailwind
colors: {
  custom: {
    50: '#8e5874',
    500: '#5c1040',
    950: '#000000',
  },
}
SCSS
$custom: #5c1040;
$custom-light: #8e5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1040",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 322.105,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32706,
    "c": 0.11883,
    "h": 347.1
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#5C1040
secondary
#339557
accent
#ED7C3B
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5C1040

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

Preview Lab → · Contrast checker → · Palette generator →

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