#5E173F#5E173F

#5E173F is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.111 H 350.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5E173F
RGBrgb(94, 23, 63)
HSLhsl(326, 61%, 23%)
HSVhsv(326, 76%, 37%)
CMYKcmyk(0%, 75.5%, 33%, 63.1%)
CIE-LABlab(21.40, 35.86, -7.33)
CIE-LCHlch(21.40, 36.60, 348.44°)
OKLaboklab(33.71% 0.1094 -0.0191)
OKLCHoklch(33.71% 0.111 350.1)
XYZxyz(5.8200, 3.3520, 5.0422)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E173F #175E36
analogous
#59175E #5E173F #5E171B
triadic
#5E173F #3F5E17 #173F5E
tetradic
#5E173F #5E5917 #175E36 #171B5E
square
#5E173F #5E5917 #175E36 #171B5E
split-complementary
#5E173F #1B5E17 #175E59
monochromatic
#190610 #2D0B1E #5E173F #8F2360 #C02F81

Accessibility & contrast

On white

12.57
#5E173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E173F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E173F#FFFFFF#000000##FFFFFF
##5E173F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B40
Deuteranopia (green-blind)
#36383D
Tritanopia (blue-blind)
#651328
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e173f;
/* rgb */ color: rgb(94, 23, 63);
/* oklch */ color: oklch(33.7% 0.111 350.1);
Tailwind
colors: {
  custom: {
    50: '#8f5b74',
    500: '#5e173f',
    950: '#000000',
  },
}
SCSS
$custom: #5e173f;
$custom-light: #8f5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e173f",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 326.197,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.11106,
    "h": 350.1
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#5E173F
secondary
#3C9563
accent
#E48A44
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E173F

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

Preview Lab → · Contrast checker → · Palette generator →

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