#5C102D#5C102D

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

Color values

HEX#5C102D
RGBrgb(92, 16, 45)
HSLhsl(337, 70%, 21%)
HSVhsv(337, 83%, 36%)
CMYKcmyk(0%, 82.6%, 51.1%, 63.9%)
CIE-LABlab(19.37, 35.78, 2.22)
CIE-LCHlch(19.37, 35.85, 3.56°)
OKLaboklab(31.93% 0.1097 0.0061)
OKLCHoklch(31.93% 0.11 3.2)
XYZxyz(5.0730, 2.8360, 2.7624)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C102D #105C3F
analogous
#5C1053 #5C102D #5C1910
triadic
#5C102D #2D5C10 #102D5C
tetradic
#5C102D #535C10 #105C3F #19105C
square
#5C102D #535C10 #105C3F #19105C
split-complementary
#5C102D #105C19 #10535C
monochromatic
#1A050D #280713 #5C102D #901946 #C42260

Accessibility & contrast

On white

13.40
#5C102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C102D
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C102D#FFFFFF#000000##FFFFFF
##5C102D1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#37342B
Tritanopia (blue-blind)
#65011D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c102d;
/* rgb */ color: rgb(92, 16, 45);
/* oklch */ color: oklch(31.9% 0.110 3.2);
Tailwind
colors: {
  custom: {
    50: '#8f5765',
    500: '#5c102d',
    950: '#000000',
  },
}
SCSS
$custom: #5c102d;
$custom-light: #8f5765;
$custom-dark: #000000;
JSON
{
  "hex": "#5c102d",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 337.105,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31928,
    "c": 0.10982,
    "h": 3.2
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#5C102D
secondary
#339570
accent
#EDA93B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5C102D

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

Preview Lab → · Contrast checker → · Palette generator →

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