#5D152F#5D152F

#5D152F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.106 H 3.3°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5D152F
RGBrgb(93, 21, 47)
HSLhsl(338, 63%, 22%)
HSVhsv(338, 77%, 36%)
CMYKcmyk(0%, 77.4%, 49.5%, 63.5%)
CIE-LABlab(20.32, 34.42, 2.20)
CIE-LCHlch(20.32, 34.49, 3.65°)
OKLaboklab(32.68% 0.1054 0.006)
OKLCHoklch(32.68% 0.106 3.3)
XYZxyz(5.2959, 3.0694, 3.0024)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D152F #155D43
analogous
#5D1553 #5D152F #5D1F15
triadic
#5D152F #2F5D15 #152F5D
tetradic
#5D152F #535D15 #155D43 #1F155D
square
#5D152F #535D15 #155D43 #1F155D
split-complementary
#5D152F #155D1F #15535D
monochromatic
#19060D #2B0A16 #5D152F #8F2048 #C12C61

Accessibility & contrast

On white

13.01
#5D152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D152F
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D152F#FFFFFF#000000##FFFFFF
##5D152F1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252830
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#660920
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d152f;
/* rgb */ color: rgb(93, 21, 47);
/* oklch */ color: oklch(32.7% 0.106 3.3);
Tailwind
colors: {
  custom: {
    50: '#8f5967',
    500: '#5d152f',
    950: '#000000',
  },
}
SCSS
$custom: #5d152f;
$custom-light: #8f5967;
$custom-dark: #000000;
JSON
{
  "hex": "#5d152f",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 338.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32683,
    "c": 0.10553,
    "h": 3.3
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#5D152F
secondary
#399474
accent
#E6AB42
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D152F

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

Preview Lab → · Contrast checker → · Palette generator →

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