#5E173A#5E173A

#5E173A is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.108 H 354.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5E173A
RGBrgb(94, 23, 58)
HSLhsl(330, 61%, 23%)
HSVhsv(330, 76%, 37%)
CMYKcmyk(0%, 75.5%, 38.3%, 63.1%)
CIE-LABlab(21.20, 35.20, -4.17)
CIE-LCHlch(21.20, 35.45, 353.24°)
OKLaboklab(33.5% 0.1078 -0.0106)
OKLCHoklch(33.5% 0.108 354.4)
XYZxyz(5.6866, 3.2986, 4.3394)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E173A #175E3B
analogous
#5E175D #5E173A #5E1817
triadic
#5E173A #3A5E17 #173A5E
tetradic
#5E173A #5D5E17 #175E3B #18175E
square
#5E173A #5D5E17 #175E3B #18175E
split-complementary
#5E173A #175E18 #175D5E
monochromatic
#19060F #2D0B1C #5E173A #8F2358 #C02F77

Accessibility & contrast

On white

12.65
#5E173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E173A
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E173A#FFFFFF#000000##FFFFFF
##5E173A1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3B
Deuteranopia (green-blind)
#373838
Tritanopia (blue-blind)
#661126
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e173a;
/* rgb */ color: rgb(94, 23, 58);
/* oklch */ color: oklch(33.5% 0.108 354.4);
Tailwind
colors: {
  custom: {
    50: '#8f5b70',
    500: '#5e173a',
    950: '#000000',
  },
}
SCSS
$custom: #5e173a;
$custom-light: #8f5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5e173a",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 330.423,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33497,
    "c": 0.10835,
    "h": 354.4
  },
  "luminance": 0.03298
}

Semantic roles & 50–950 ramp

primary
#5E173A
secondary
#3C9569
accent
#E49544
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E173A

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

Preview Lab → · Contrast checker → · Palette generator →

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