#5C102A#5C102A

#5C102A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.109 H 5.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#5C102A
RGBrgb(92, 16, 42)
HSLhsl(339, 70%, 21%)
HSVhsv(339, 83%, 36%)
CMYKcmyk(0%, 82.6%, 54.3%, 63.9%)
CIE-LABlab(19.28, 35.48, 4.22)
CIE-LCHlch(19.28, 35.73, 6.79°)
OKLaboklab(31.83% 0.1084 0.0111)
OKLCHoklch(31.83% 0.109 5.8)
XYZxyz(5.0173, 2.8138, 2.4690)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C102A #105C42
analogous
#5C1050 #5C102A #5C1C10
triadic
#5C102A #2A5C10 #102A5C
tetradic
#5C102A #505C10 #105C42 #1C105C
square
#5C102A #505C10 #105C42 #1C105C
split-complementary
#5C102A #105C1C #10505C
monochromatic
#1A050C #280712 #5C102A #901942 #C4225A

Accessibility & contrast

On white

13.44
#5C102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C102A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C102A
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C102A#FFFFFF#000000##FFFFFF
##5C102A1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#65001B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c102a;
/* rgb */ color: rgb(92, 16, 42);
/* oklch */ color: oklch(31.8% 0.109 5.8);
Tailwind
colors: {
  custom: {
    50: '#8f5763',
    500: '#5c102a',
    950: '#000000',
  },
}
SCSS
$custom: #5c102a;
$custom-light: #8f5763;
$custom-dark: #000000;
JSON
{
  "hex": "#5c102a",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 339.474,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31829,
    "c": 0.10898,
    "h": 5.8
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#5C102A
secondary
#339573
accent
#EDB03B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C102A

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

Preview Lab → · Contrast checker → · Palette generator →

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