#5D152E#5D152E

#5D152E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.6% C 0.105 H 4.2°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#5D152E
RGBrgb(93, 21, 46)
HSLhsl(339, 63%, 22%)
HSVhsv(339, 77%, 36%)
CMYKcmyk(0%, 77.4%, 50.5%, 63.5%)
CIE-LABlab(20.29, 34.32, 2.86)
CIE-LCHlch(20.29, 34.44, 4.76°)
OKLaboklab(32.65% 0.105 0.0077)
OKLCHoklch(32.65% 0.105 4.2)
XYZxyz(5.2759, 3.0614, 2.8973)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D152E #155D44
analogous
#5D1552 #5D152E #5D2015
triadic
#5D152E #2E5D15 #152E5D
tetradic
#5D152E #525D15 #155D44 #20155D
square
#5D152E #525D15 #155D44 #20155D
split-complementary
#5D152E #155D20 #15525D
monochromatic
#19060C #2B0A15 #5D152E #8F2047 #C12C5F

Accessibility & contrast

On white

13.03
#5D152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D152E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D152E#FFFFFF#000000##FFFFFF
##5D152E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282F
Deuteranopia (green-blind)
#39362C
Tritanopia (blue-blind)
#66081F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d152e;
/* rgb */ color: rgb(93, 21, 46);
/* oklch */ color: oklch(32.6% 0.105 4.2);
Tailwind
colors: {
  custom: {
    50: '#8f5966',
    500: '#5d152e',
    950: '#000000',
  },
}
SCSS
$custom: #5d152e;
$custom-light: #8f5966;
$custom-dark: #000000;
JSON
{
  "hex": "#5d152e",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 339.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3265,
    "c": 0.10523,
    "h": 4.2
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#5D152E
secondary
#399475
accent
#E6AD42
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5D152E

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

Preview Lab → · Contrast checker → · Palette generator →

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