#5E184E#5E184E

#5E184E is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.6% C 0.120 H 338.4°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#5E184E
RGBrgb(94, 24, 78)
HSLhsl(314, 59%, 23%)
HSVhsv(314, 74%, 37%)
CMYKcmyk(0%, 74.5%, 17%, 63.1%)
CIE-LABlab(22.24, 37.70, -16.28)
CIE-LCHlch(22.24, 41.06, 336.64°)
OKLaboklab(34.55% 0.1116 -0.0441)
OKLCHoklch(34.55% 0.12 338.4)
XYZxyz(6.3180, 3.5836, 7.5652)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E184E #185E28
analogous
#4B185E #5E184E #5E182B
triadic
#5E184E #4E5E18 #184E5E
tetradic
#5E184E #5E4B18 #185E28 #182B5E
square
#5E184E #5E4B18 #185E28 #182B5E
split-complementary
#5E184E #2B5E18 #185E4B
monochromatic
#180614 #2D0C26 #5E184E #8F2476 #C0319F

Accessibility & contrast

On white

12.23
#5E184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E184E
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E184E#FFFFFF#000000##FFFFFF
##5E184E1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E50
Deuteranopia (green-blind)
#32394C
Tritanopia (blue-blind)
#641B30
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e184e;
/* rgb */ color: rgb(94, 24, 78);
/* oklch */ color: oklch(34.6% 0.120 338.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c7f',
    500: '#5e184e',
    950: '#000000',
  },
}
SCSS
$custom: #5e184e;
$custom-light: #8e5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e184e",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 313.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34551,
    "c": 0.11995,
    "h": 338.4
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#5E184E
secondary
#3D9451
accent
#E36945
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E184E

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

Preview Lab → · Contrast checker → · Palette generator →

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