#5E172C#5E172C

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

Color values

HEX#5E172C
RGBrgb(94, 23, 44)
HSLhsl(342, 61%, 23%)
HSVhsv(342, 76%, 37%)
CMYKcmyk(0%, 75.5%, 53.2%, 63.1%)
CIE-LABlab(20.73, 33.62, 4.92)
CIE-LCHlch(20.73, 33.98, 8.33°)
OKLaboklab(33% 0.1025 0.0128)
OKLCHoklch(33% 0.103 7.1)
XYZxyz(5.3776, 3.1750, 2.7121)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E172C #175E49
analogous
#5E174F #5E172C #5E2617
triadic
#5E172C #2C5E17 #172C5E
tetradic
#5E172C #4F5E17 #175E49 #26175E
square
#5E172C #4F5E17 #175E49 #26175E
split-complementary
#5E172C #175E26 #174F5E
monochromatic
#19060C #2D0B15 #5E172C #8F2343 #C02F5A

Accessibility & contrast

On white

12.85
#5E172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E172C
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E172C#FFFFFF#000000##FFFFFF
##5E172C1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292C
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#670A20
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e172c;
/* rgb */ color: rgb(94, 23, 44);
/* oklch */ color: oklch(33.0% 0.103 7.1);
Tailwind
colors: {
  custom: {
    50: '#905a64',
    500: '#5e172c',
    950: '#000000',
  },
}
SCSS
$custom: #5e172c;
$custom-light: #905a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e172c",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 342.254,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32996,
    "c": 0.10325,
    "h": 7.1
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#5E172C
secondary
#3C957B
accent
#E4B544
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5E172C

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

Preview Lab → · Contrast checker → · Palette generator →

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