#5D102B#5D102B

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

Color values

HEX#5D102B
RGBrgb(93, 16, 43)
HSLhsl(339, 71%, 21%)
HSVhsv(339, 83%, 36%)
CMYKcmyk(0%, 82.8%, 53.8%, 63.5%)
CIE-LABlab(19.53, 35.89, 3.89)
CIE-LCHlch(19.53, 36.10, 6.19°)
OKLaboklab(32.06% 0.1098 0.0102)
OKLCHoklch(32.06% 0.11 5.3)
XYZxyz(5.1360, 2.8729, 2.5691)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D102B #105D42
analogous
#5D1052 #5D102B #5D1C10
triadic
#5D102B #2B5D10 #102B5D
tetradic
#5D102B #525D10 #105D42 #1C105D
square
#5D102B #525D10 #105D42 #1C105D
split-complementary
#5D102B #105D1C #10525D
monochromatic
#1A040C #290713 #5D102B #911943 #C5225B

Accessibility & contrast

On white

13.34
#5D102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D102B
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D102B#FFFFFF#000000##FFFFFF
##5D102B1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d102b;
/* rgb */ color: rgb(93, 16, 43);
/* oklch */ color: oklch(32.1% 0.110 5.3);
Tailwind
colors: {
  custom: {
    50: '#905764',
    500: '#5d102b',
    950: '#000000',
  },
}
SCSS
$custom: #5d102b;
$custom-light: #905764;
$custom-dark: #000000;
JSON
{
  "hex": "#5d102b",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 338.961,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.11023,
    "h": 5.3
  },
  "luminance": 0.02872
}

Semantic roles & 50–950 ramp

primary
#5D102B
secondary
#339673
accent
#EDAF3A
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5D102B

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

Preview Lab → · Contrast checker → · Palette generator →

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