#5D102C#5D102C

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

Color values

HEX#5D102C
RGBrgb(93, 16, 44)
HSLhsl(338, 71%, 21%)
HSVhsv(338, 83%, 36%)
CMYKcmyk(0%, 82.8%, 52.7%, 63.5%)
CIE-LABlab(19.56, 35.99, 3.22)
CIE-LCHlch(19.56, 36.14, 5.12°)
OKLaboklab(32.09% 0.1102 0.0086)
OKLCHoklch(32.09% 0.11 4.5)
XYZxyz(5.1546, 2.8803, 2.6669)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D102C #105D41
analogous
#5D1053 #5D102C #5D1B10
triadic
#5D102C #2C5D10 #102C5D
tetradic
#5D102C #535D10 #105D41 #1B105D
square
#5D102C #535D10 #105D41 #1B105D
split-complementary
#5D102C #105D1B #10535D
monochromatic
#1A040C #290713 #5D102C #911945 #C5225D

Accessibility & contrast

On white

13.32
#5D102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D102C
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D102C#FFFFFF#000000##FFFFFF
##5D102C1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23262D
Deuteranopia (green-blind)
#38352A
Tritanopia (blue-blind)
#66001C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d102c;
/* rgb */ color: rgb(93, 16, 44);
/* oklch */ color: oklch(32.1% 0.110 4.5);
Tailwind
colors: {
  custom: {
    50: '#8f5764',
    500: '#5d102c',
    950: '#000000',
  },
}
SCSS
$custom: #5d102c;
$custom-light: #8f5764;
$custom-dark: #000000;
JSON
{
  "hex": "#5d102c",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 338.182,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.11049,
    "h": 4.5
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#5D102C
secondary
#339672
accent
#EDAC3A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5D102C

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

Preview Lab → · Contrast checker → · Palette generator →

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