#5E173D#5E173D

#5E173D is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.110 H 351.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5E173D
RGBrgb(94, 23, 61)
HSLhsl(328, 61%, 23%)
HSVhsv(328, 76%, 37%)
CMYKcmyk(0%, 75.5%, 35.1%, 63.1%)
CIE-LABlab(21.32, 35.59, -6.08)
CIE-LCHlch(21.32, 36.11, 350.31°)
OKLaboklab(33.62% 0.1088 -0.0157)
OKLCHoklch(33.62% 0.11 351.8)
XYZxyz(5.7651, 3.3301, 4.7531)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E173D #175E38
analogous
#5B175E #5E173D #5E171A
triadic
#5E173D #3D5E17 #173D5E
tetradic
#5E173D #5E5B17 #175E38 #171A5E
square
#5E173D #5E5B17 #175E38 #171A5E
split-complementary
#5E173D #1A5E17 #175E5B
monochromatic
#190610 #2D0B1D #5E173D #8F235D #C02F7D

Accessibility & contrast

On white

12.61
#5E173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E173D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E173D
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E173D#FFFFFF#000000##FFFFFF
##5E173D1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3E
Deuteranopia (green-blind)
#37383B
Tritanopia (blue-blind)
#661227
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e173d;
/* rgb */ color: rgb(94, 23, 61);
/* oklch */ color: oklch(33.6% 0.110 351.8);
Tailwind
colors: {
  custom: {
    50: '#8f5b72',
    500: '#5e173d',
    950: '#000000',
  },
}
SCSS
$custom: #5e173d;
$custom-light: #8f5b72;
$custom-dark: #000000;
JSON
{
  "hex": "#5e173d",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 327.887,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33622,
    "c": 0.10992,
    "h": 351.8
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#5E173D
secondary
#3C9565
accent
#E48E44
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E173D

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

Preview Lab → · Contrast checker → · Palette generator →

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