#5C1740#5C1740

#5C1740 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.110 H 348.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5C1740
RGBrgb(92, 23, 64)
HSLhsl(324, 60%, 23%)
HSVhsv(324, 75%, 36%)
CMYKcmyk(0%, 75%, 30.4%, 63.9%)
CIE-LABlab(21.05, 35.38, -8.59)
CIE-LCHlch(21.05, 36.41, 346.35°)
OKLaboklab(33.39% 0.1076 -0.0226)
OKLCHoklch(33.39% 0.11 348.1)
XYZxyz(5.6457, 3.2589, 5.1812)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1740 #175C33
analogous
#56175C #5C1740 #5C171D
triadic
#5C1740 #405C17 #17405C
tetradic
#5C1740 #5C5617 #175C33 #171D5C
square
#5C1740 #5C5617 #175C33 #171D5C
split-complementary
#5C1740 #1D5C17 #175C56
monochromatic
#180611 #2B0B1E #5C1740 #8D2362 #BE2F84

Accessibility & contrast

On white

12.71
#5C1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5C1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1740
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1740#FFFFFF#000000##FFFFFF
##5C17401.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#35373E
Tritanopia (blue-blind)
#631429
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1740;
/* rgb */ color: rgb(92, 23, 64);
/* oklch */ color: oklch(33.4% 0.110 348.1);
Tailwind
colors: {
  custom: {
    50: '#8d5b74',
    500: '#5c1740',
    950: '#000000',
  },
}
SCSS
$custom: #5c1740;
$custom-light: #8d5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1740",
  "rgb": {
    "r": 92,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 324.348,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33393,
    "c": 0.10991,
    "h": 348.1
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#5C1740
secondary
#3C935F
accent
#E38545
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5C1740

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

Preview Lab → · Contrast checker → · Palette generator →

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