#5D102F#5D102F

#5D102F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.111 H 1.8°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#5D102F
RGBrgb(93, 16, 47)
HSLhsl(336, 71%, 21%)
HSVhsv(336, 83%, 36%)
CMYKcmyk(0%, 82.8%, 49.5%, 63.5%)
CIE-LABlab(19.65, 36.29, 1.24)
CIE-LCHlch(19.65, 36.31, 1.95°)
OKLaboklab(32.19% 0.1114 0.0036)
OKLCHoklch(32.19% 0.111 1.8)
XYZxyz(5.2130, 2.9037, 2.9747)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D102F #105D3E
analogous
#5D1056 #5D102F #5D1810
triadic
#5D102F #2F5D10 #102F5D
tetradic
#5D102F #565D10 #105D3E #18105D
square
#5D102F #565D10 #105D3E #18105D
split-complementary
#5D102F #105D18 #10565D
monochromatic
#1A040D #290715 #5D102F #911949 #C52264

Accessibility & contrast

On white

13.29
#5D102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5D102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D102F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D102F#FFFFFF#000000##FFFFFF
##5D102F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222630
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#66011E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d102f;
/* rgb */ color: rgb(93, 16, 47);
/* oklch */ color: oklch(32.2% 0.111 1.8);
Tailwind
colors: {
  custom: {
    50: '#8f5767',
    500: '#5d102f',
    950: '#000000',
  },
}
SCSS
$custom: #5d102f;
$custom-light: #8f5767;
$custom-dark: #000000;
JSON
{
  "hex": "#5d102f",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 335.844,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.11142,
    "h": 1.8
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#5D102F
secondary
#33966E
accent
#EDA53A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5D102F

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

Preview Lab → · Contrast checker → · Palette generator →

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