#5D1D2F#5D1D2F

#5D1D2F is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.6% C 0.095 H 6.5°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#5D1D2F
RGBrgb(93, 29, 47)
HSLhsl(343, 52%, 24%)
HSVhsv(343, 69%, 36%)
CMYKcmyk(0%, 68.8%, 49.5%, 63.5%)
CIE-LABlab(21.62, 30.84, 4.06)
CIE-LCHlch(21.62, 31.11, 7.51°)
OKLaboklab(33.65% 0.094 0.0107)
OKLCHoklch(33.65% 0.095 6.5)
XYZxyz(5.4671, 3.4118, 3.0594)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1D2F #1D5D4B
analogous
#5D1D4F #5D1D2F #5D2B1D
triadic
#5D1D2F #2F5D1D #1D2F5D
tetradic
#5D1D2F #4F5D1D #1D5D4B #2B1D5D
square
#5D1D2F #4F5D1D #1D5D4B #2B1D5D
split-complementary
#5D1D2F #1D5D2B #1D4F5D
monochromatic
#17070C #2E0E17 #5D1D2F #8C2C47 #BA3A5E

Accessibility & contrast

On white

12.48
#5D1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5D1D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1D2F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1D2F#FFFFFF#000000##FFFFFF
##5D1D2F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2F
Deuteranopia (green-blind)
#3B392D
Tritanopia (blue-blind)
#651424
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1d2f;
/* rgb */ color: rgb(93, 29, 47);
/* oklch */ color: oklch(33.6% 0.095 6.5);
Tailwind
colors: {
  custom: {
    50: '#8f5d67',
    500: '#5d1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #5d1d2f;
$custom-light: #8f5d67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1d2f",
  "rgb": {
    "r": 93,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 343.125,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.09456,
    "h": 6.5
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#5D1D2F
secondary
#44927C
accent
#DCB34C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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