#5E172D#5E172D

#5E172D is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.103 H 6.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#5E172D
RGBrgb(94, 23, 45)
HSLhsl(341, 61%, 23%)
HSVhsv(341, 76%, 37%)
CMYKcmyk(0%, 75.5%, 52.1%, 63.1%)
CIE-LABlab(20.76, 33.72, 4.26)
CIE-LCHlch(20.76, 33.99, 7.20°)
OKLaboklab(33.03% 0.1029 0.0112)
OKLCHoklch(33.03% 0.103 6.2)
XYZxyz(5.3966, 3.1826, 2.8122)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E172D #175E48
analogous
#5E1751 #5E172D #5E2417
triadic
#5E172D #2D5E17 #172D5E
tetradic
#5E172D #515E17 #175E48 #24175E
square
#5E172D #515E17 #175E48 #24175E
split-complementary
#5E172D #175E24 #17515E
monochromatic
#19060C #2D0B15 #5E172D #8F2345 #C02F5C

Accessibility & contrast

On white

12.83
#5E172D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E172D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E172D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E172D#FFFFFF#000000##FFFFFF
##5E172D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292D
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#670A20
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e172d;
/* rgb */ color: rgb(94, 23, 45);
/* oklch */ color: oklch(33.0% 0.103 6.2);
Tailwind
colors: {
  custom: {
    50: '#905a65',
    500: '#5e172d',
    950: '#000000',
  },
}
SCSS
$custom: #5e172d;
$custom-light: #905a65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e172d",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 45
  },
  "hsl": {
    "h": 341.408,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.10349,
    "h": 6.2
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#5E172D
secondary
#3C9579
accent
#E4B244
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E172D

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

Preview Lab → · Contrast checker → · Palette generator →

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