#5E184F#5E184F

#5E184F is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.6% C 0.121 H 337.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#5E184F
RGBrgb(94, 24, 79)
HSLhsl(313, 59%, 23%)
HSVhsv(313, 74%, 37%)
CMYKcmyk(0%, 74.5%, 16%, 63.1%)
CIE-LABlab(22.30, 37.86, -16.88)
CIE-LCHlch(22.30, 41.45, 335.97°)
OKLaboklab(34.61% 0.1117 -0.0458)
OKLCHoklch(34.61% 0.121 337.7)
XYZxyz(6.3541, 3.5980, 7.7555)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E184F #185E27
analogous
#4A185E #5E184F #5E182C
triadic
#5E184F #4F5E18 #184F5E
tetradic
#5E184F #5E4A18 #185E27 #182C5E
square
#5E184F #5E4A18 #185E27 #182C5E
split-complementary
#5E184F #2C5E18 #185E4A
monochromatic
#180614 #2D0C26 #5E184F #8F2478 #C031A1

Accessibility & contrast

On white

12.21
#5E184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E184F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E184F#FFFFFF#000000##FFFFFF
##5E184F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E51
Deuteranopia (green-blind)
#31394D
Tritanopia (blue-blind)
#631B31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e184f;
/* rgb */ color: rgb(94, 24, 79);
/* oklch */ color: oklch(34.6% 0.121 337.7);
Tailwind
colors: {
  custom: {
    50: '#8e5c80',
    500: '#5e184f',
    950: '#000000',
  },
}
SCSS
$custom: #5e184f;
$custom-light: #8e5c80;
$custom-dark: #000000;
JSON
{
  "hex": "#5e184f",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 312.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34605,
    "c": 0.12072,
    "h": 337.7
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#5E184F
secondary
#3D9450
accent
#E36745
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E184F

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

Preview Lab → · Contrast checker → · Palette generator →

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