#5E172B#5E172B

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

Color values

HEX#5E172B
RGBrgb(94, 23, 43)
HSLhsl(343, 61%, 23%)
HSVhsv(343, 76%, 37%)
CMYKcmyk(0%, 75.5%, 54.3%, 63.1%)
CIE-LABlab(20.70, 33.53, 5.58)
CIE-LCHlch(20.70, 33.99, 9.46°)
OKLaboklab(32.97% 0.102 0.0144)
OKLCHoklch(32.97% 0.103 8)
XYZxyz(5.3590, 3.1676, 2.6142)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E172B #175E4A
analogous
#5E174E #5E172B #5E2717
triadic
#5E172B #2B5E17 #172B5E
tetradic
#5E172B #4E5E17 #175E4A #27175E
square
#5E172B #4E5E17 #175E4A #27175E
split-complementary
#5E172B #175E27 #174E5E
monochromatic
#19060B #2D0B15 #5E172B #8F2341 #C02F58

Accessibility & contrast

On white

12.86
#5E172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E172B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E172B#FFFFFF#000000##FFFFFF
##5E172B1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#67091F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e172b;
/* rgb */ color: rgb(94, 23, 43);
/* oklch */ color: oklch(33.0% 0.103 8.0);
Tailwind
colors: {
  custom: {
    50: '#905a64',
    500: '#5e172b',
    950: '#000000',
  },
}
SCSS
$custom: #5e172b;
$custom-light: #905a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e172b",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 343.099,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.10304,
    "h": 8
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#5E172B
secondary
#3C957C
accent
#E4B744
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E172B

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

Preview Lab → · Contrast checker → · Palette generator →

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