#5C102F#5C102F

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

Color values

HEX#5C102F
RGBrgb(92, 16, 47)
HSLhsl(336, 70%, 21%)
HSVhsv(336, 83%, 36%)
CMYKcmyk(0%, 82.6%, 48.9%, 63.9%)
CIE-LABlab(19.44, 35.98, 0.90)
CIE-LCHlch(19.44, 35.99, 1.43°)
OKLaboklab(32% 0.1104 0.0027)
OKLCHoklch(32% 0.11 1.4)
XYZxyz(5.1124, 2.8518, 2.9700)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C102F #105C3D
analogous
#5C1055 #5C102F #5C1710
triadic
#5C102F #2F5C10 #102F5C
tetradic
#5C102F #555C10 #105C3D #17105C
square
#5C102F #555C10 #105C3D #17105C
split-complementary
#5C102F #105C17 #10555C
monochromatic
#1A050D #280714 #5C102F #90194A #C42264

Accessibility & contrast

On white

13.37
#5C102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C102F
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C102F#FFFFFF#000000##FFFFFF
##5C102F1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222630
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#65021E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c102f;
/* rgb */ color: rgb(92, 16, 47);
/* oklch */ color: oklch(32.0% 0.110 1.4);
Tailwind
colors: {
  custom: {
    50: '#8e5767',
    500: '#5c102f',
    950: '#000000',
  },
}
SCSS
$custom: #5c102f;
$custom-light: #8e5767;
$custom-dark: #000000;
JSON
{
  "hex": "#5c102f",
  "rgb": {
    "r": 92,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 335.526,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31997,
    "c": 0.11046,
    "h": 1.4
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#5C102F
secondary
#33956D
accent
#EDA43B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5C102F

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

Preview Lab → · Contrast checker → · Palette generator →

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