#5E184C#5E184C

#5E184C is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.4% C 0.118 H 339.9°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5E184C
RGBrgb(94, 24, 76)
HSLhsl(315, 59%, 23%)
HSVhsv(315, 74%, 37%)
CMYKcmyk(0%, 74.5%, 19.1%, 63.1%)
CIE-LABlab(22.14, 37.38, -15.09)
CIE-LCHlch(22.14, 40.31, 338.02°)
OKLaboklab(34.45% 0.1112 -0.0407)
OKLCHoklch(34.45% 0.118 339.9)
XYZxyz(6.2474, 3.5553, 7.1933)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E184C #185E2A
analogous
#4D185E #5E184C #5E1829
triadic
#5E184C #4C5E18 #184C5E
tetradic
#5E184C #5E4D18 #185E2A #18295E
square
#5E184C #5E4D18 #185E2A #18295E
split-complementary
#5E184C #295E18 #185E4D
monochromatic
#180614 #2D0C25 #5E184C #8F2473 #C0319B

Accessibility & contrast

On white

12.27
#5E184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E184C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E184C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E184C#FFFFFF#000000##FFFFFF
##5E184C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4D
Deuteranopia (green-blind)
#33394A
Tritanopia (blue-blind)
#641A2F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e184c;
/* rgb */ color: rgb(94, 24, 76);
/* oklch */ color: oklch(34.4% 0.118 339.9);
Tailwind
colors: {
  custom: {
    50: '#8e5c7e',
    500: '#5e184c',
    950: '#000000',
  },
}
SCSS
$custom: #5e184c;
$custom-light: #8e5c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e184c",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 315.429,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34445,
    "c": 0.11841,
    "h": 339.9
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#5E184C
secondary
#3D9454
accent
#E36E45
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E184C

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

Preview Lab → · Contrast checker → · Palette generator →

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