#5D0F31#5D0F31

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

Color values

HEX#5D0F31
RGBrgb(93, 15, 49)
HSLhsl(334, 72%, 21%)
HSVhsv(334, 84%, 36%)
CMYKcmyk(0%, 83.9%, 47.3%, 63.5%)
CIE-LABlab(19.60, 36.83, -0.25)
CIE-LCHlch(19.60, 36.83, 359.61°)
OKLaboklab(32.18% 0.1132 -0.0002)
OKLCHoklch(32.18% 0.113 359.9)
XYZxyz(5.2398, 2.8913, 3.1873)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F31 #0F5D3B
analogous
#5D0F58 #5D0F31 #5D140F
triadic
#5D0F31 #315D0F #0F315D
tetradic
#5D0F31 #585D0F #0F5D3B #140F5D
square
#5D0F31 #585D0F #0F5D3B #140F5D
split-complementary
#5D0F31 #0F5D14 #0F585D
monochromatic
#1A040E #280615 #5D0F31 #92174D #C62069

Accessibility & contrast

On white

13.31
#5D0F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F31
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F31#FFFFFF#000000##FFFFFF
##5D0F311.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212632
Deuteranopia (green-blind)
#36352F
Tritanopia (blue-blind)
#66011E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d0f31;
/* rgb */ color: rgb(93, 15, 49);
/* oklch */ color: oklch(32.2% 0.113 359.9);
Tailwind
colors: {
  custom: {
    50: '#8f5768',
    500: '#5d0f31',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f31;
$custom-light: #8f5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f31",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 333.846,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32178,
    "c": 0.1132,
    "h": 359.9
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#5D0F31
secondary
#31966A
accent
#EFA039
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5D0F31

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

Preview Lab → · Contrast checker → · Palette generator →

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