#5E173B#5E173B

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

Color values

HEX#5E173B
RGBrgb(94, 23, 59)
HSLhsl(330, 61%, 23%)
HSVhsv(330, 76%, 37%)
CMYKcmyk(0%, 75.5%, 37.2%, 63.1%)
CIE-LABlab(21.24, 35.33, -4.81)
CIE-LCHlch(21.24, 35.66, 352.25°)
OKLaboklab(33.54% 0.1082 -0.0123)
OKLCHoklch(33.54% 0.109 353.5)
XYZxyz(5.7122, 3.3089, 4.4747)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E173B #175E3A
analogous
#5D175E #5E173B #5E1718
triadic
#5E173B #3B5E17 #173B5E
tetradic
#5E173B #5E5D17 #175E3A #17185E
square
#5E173B #5E5D17 #175E3A #17185E
split-complementary
#5E173B #185E17 #175E5D
monochromatic
#19060F #2D0B1C #5E173B #8F235A #C02F79

Accessibility & contrast

On white

12.64
#5E173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E173B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E173B#FFFFFF#000000##FFFFFF
##5E173B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3C
Deuteranopia (green-blind)
#373839
Tritanopia (blue-blind)
#661126
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e173b;
/* rgb */ color: rgb(94, 23, 59);
/* oklch */ color: oklch(33.5% 0.109 353.5);
Tailwind
colors: {
  custom: {
    50: '#8f5b70',
    500: '#5e173b',
    950: '#000000',
  },
}
SCSS
$custom: #5e173b;
$custom-light: #8f5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5e173b",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 329.577,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33538,
    "c": 0.10885,
    "h": 353.5
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#5E173B
secondary
#3C9568
accent
#E49344
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E173B

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

Preview Lab → · Contrast checker → · Palette generator →

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