#5E173E#5E173E

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

Color values

HEX#5E173E
RGBrgb(94, 23, 62)
HSLhsl(327, 61%, 23%)
HSVhsv(327, 76%, 37%)
CMYKcmyk(0%, 75.5%, 34%, 63.1%)
CIE-LABlab(21.36, 35.73, -6.71)
CIE-LCHlch(21.36, 36.35, 349.37°)
OKLaboklab(33.67% 0.1091 -0.0174)
OKLCHoklch(33.67% 0.11 350.9)
XYZxyz(5.7923, 3.3409, 4.8963)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E173E #175E37
analogous
#5A175E #5E173E #5E171A
triadic
#5E173E #3E5E17 #173E5E
tetradic
#5E173E #5E5A17 #175E37 #171A5E
square
#5E173E #5E5A17 #175E37 #171A5E
split-complementary
#5E173E #1A5E17 #175E5A
monochromatic
#190610 #2D0B1E #5E173E #8F235E #C02F7F

Accessibility & contrast

On white

12.59
#5E173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E173E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E173E#FFFFFF#000000##FFFFFF
##5E173E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e173e;
/* rgb */ color: rgb(94, 23, 62);
/* oklch */ color: oklch(33.7% 0.110 350.9);
Tailwind
colors: {
  custom: {
    50: '#8f5b73',
    500: '#5e173e',
    950: '#000000',
  },
}
SCSS
$custom: #5e173e;
$custom-light: #8f5b73;
$custom-dark: #000000;
JSON
{
  "hex": "#5e173e",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 327.042,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33665,
    "c": 0.11048,
    "h": 350.9
  },
  "luminance": 0.0334
}

Semantic roles & 50–950 ramp

primary
#5E173E
secondary
#3C9564
accent
#E48C44
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E173E

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

Preview Lab → · Contrast checker → · Palette generator →

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