#5E1346#5E1346

#5E1346 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.6% C 0.121 H 343.9°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5E1346
RGBrgb(94, 19, 70)
HSLhsl(319, 66%, 22%)
HSVhsv(319, 80%, 37%)
CMYKcmyk(0%, 79.8%, 25.5%, 63.1%)
CIE-LABlab(21.16, 38.40, -12.51)
CIE-LCHlch(21.16, 40.38, 341.95°)
OKLaboklab(33.64% 0.116 -0.0334)
OKLCHoklch(33.64% 0.121 343.9)
XYZxyz(5.9547, 3.2883, 6.1143)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1346 #135E2B
analogous
#51135E #5E1346 #5E1321
triadic
#5E1346 #465E13 #13465E
tetradic
#5E1346 #5E5113 #135E2B #13215E
square
#5E1346 #5E5113 #135E2B #13215E
split-complementary
#5E1346 #215E13 #135E51
monochromatic
#190513 #2B0920 #5E1346 #911D6C #C42892

Accessibility & contrast

On white

12.67
#5E1346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E1346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1346
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1346#FFFFFF#000000##FFFFFF
##5E13461.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2B47
Deuteranopia (green-blind)
#333744
Tritanopia (blue-blind)
#65132A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1346;
/* rgb */ color: rgb(94, 19, 70);
/* oklch */ color: oklch(33.6% 0.121 343.9);
Tailwind
colors: {
  custom: {
    50: '#8f5979',
    500: '#5e1346',
    950: '#000000',
  },
}
SCSS
$custom: #5e1346;
$custom-light: #8f5979;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1346",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 319.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33637,
    "c": 0.12068,
    "h": 343.9
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#5E1346
secondary
#379655
accent
#E9753F
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1346

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

Preview Lab → · Contrast checker → · Palette generator →

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