#5C102E#5C102E

#5C102E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.110 H 2.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#5C102E
RGBrgb(92, 16, 46)
HSLhsl(336, 70%, 21%)
HSVhsv(336, 83%, 36%)
CMYKcmyk(0%, 82.6%, 50%, 63.9%)
CIE-LABlab(19.41, 35.88, 1.56)
CIE-LCHlch(19.41, 35.91, 2.49°)
OKLaboklab(31.96% 0.11 0.0044)
OKLCHoklch(31.96% 0.11 2.3)
XYZxyz(5.0925, 2.8438, 2.8650)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C102E #105C3E
analogous
#5C1054 #5C102E #5C1810
triadic
#5C102E #2E5C10 #102E5C
tetradic
#5C102E #545C10 #105C3E #18105C
square
#5C102E #545C10 #105C3E #18105C
split-complementary
#5C102E #105C18 #10545C
monochromatic
#1A050D #280714 #5C102E #901948 #C42262

Accessibility & contrast

On white

13.39
#5C102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C102E
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C102E#FFFFFF#000000##FFFFFF
##5C102E1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22262F
Deuteranopia (green-blind)
#36342C
Tritanopia (blue-blind)
#65021D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c102e;
/* rgb */ color: rgb(92, 16, 46);
/* oklch */ color: oklch(32.0% 0.110 2.3);
Tailwind
colors: {
  custom: {
    50: '#8f5766',
    500: '#5c102e',
    950: '#000000',
  },
}
SCSS
$custom: #5c102e;
$custom-light: #8f5766;
$custom-dark: #000000;
JSON
{
  "hex": "#5c102e",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 336.316,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31962,
    "c": 0.11013,
    "h": 2.3
  },
  "luminance": 0.02843
}

Semantic roles & 50–950 ramp

primary
#5C102E
secondary
#33956E
accent
#EDA73B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5C102E

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

Preview Lab → · Contrast checker → · Palette generator →

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