#5C102B#5C102B

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

Color values

HEX#5C102B
RGBrgb(92, 16, 43)
HSLhsl(339, 70%, 21%)
HSVhsv(339, 83%, 36%)
CMYKcmyk(0%, 82.6%, 53.3%, 63.9%)
CIE-LABlab(19.31, 35.58, 3.55)
CIE-LCHlch(19.31, 35.76, 5.71°)
OKLaboklab(31.86% 0.1088 0.0094)
OKLCHoklch(31.86% 0.109 4.9)
XYZxyz(5.0354, 2.8210, 2.5644)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C102B #105C41
analogous
#5C1051 #5C102B #5C1B10
triadic
#5C102B #2B5C10 #102B5C
tetradic
#5C102B #515C10 #105C41 #1B105C
square
#5C102B #515C10 #105C41 #1B105C
split-complementary
#5C102B #105C1B #10515C
monochromatic
#1A050C #280713 #5C102B #901943 #C4225C

Accessibility & contrast

On white

13.43
#5C102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C102B
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C102B#FFFFFF#000000##FFFFFF
##5C102B1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c102b;
/* rgb */ color: rgb(92, 16, 43);
/* oklch */ color: oklch(31.9% 0.109 4.9);
Tailwind
colors: {
  custom: {
    50: '#8f5764',
    500: '#5c102b',
    950: '#000000',
  },
}
SCSS
$custom: #5c102b;
$custom-light: #8f5764;
$custom-dark: #000000;
JSON
{
  "hex": "#5c102b",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 338.684,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31861,
    "c": 0.10924,
    "h": 4.9
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#5C102B
secondary
#339572
accent
#EDAE3B
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5C102B

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

Preview Lab → · Contrast checker → · Palette generator →

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