#5D1A2E#5D1A2E

#5D1A2E is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.2% C 0.099 H 6.1°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5D1A2E
RGBrgb(93, 26, 46)
HSLhsl(342, 56%, 23%)
HSVhsv(342, 72%, 36%)
CMYKcmyk(0%, 72%, 50.5%, 63.5%)
CIE-LABlab(21.07, 32.15, 3.98)
CIE-LCHlch(21.07, 32.40, 7.05°)
OKLaboklab(33.23% 0.0981 0.0105)
OKLCHoklch(33.23% 0.099 6.1)
XYZxyz(5.3772, 3.2639, 2.9311)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1A2E #1A5D49
analogous
#5D1A4F #5D1A2E #5D271A
triadic
#5D1A2E #2E5D1A #1A2E5D
tetradic
#5D1A2E #4F5D1A #1A5D49 #271A5D
square
#5D1A2E #4F5D1A #1A5D49 #271A5D
split-complementary
#5D1A2E #1A5D27 #1A4F5D
monochromatic
#18070C #2D0D16 #5D1A2E #8D2746 #BD355D

Accessibility & contrast

On white

12.71
#5D1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D1A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1A2E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1A2E#FFFFFF#000000##FFFFFF
##5D1A2E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2E
Deuteranopia (green-blind)
#3A382C
Tritanopia (blue-blind)
#661022
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1a2e;
/* rgb */ color: rgb(93, 26, 46);
/* oklch */ color: oklch(33.2% 0.099 6.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c66',
    500: '#5d1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #5d1a2e;
$custom-light: #8f5c66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1a2e",
  "rgb": {
    "r": 93,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 342.09,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33229,
    "c": 0.09861,
    "h": 6.1
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#5D1A2E
secondary
#40937A
accent
#E0B248
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5D1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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