#5E1246#5E1246

#5E1246 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.5% C 0.122 H 343.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#5E1246
RGBrgb(94, 18, 70)
HSLhsl(319, 68%, 22%)
HSVhsv(319, 81%, 37%)
CMYKcmyk(0%, 80.9%, 25.5%, 63.1%)
CIE-LABlab(21.04, 38.75, -12.71)
CIE-LCHlch(21.04, 40.78, 341.85°)
OKLaboklab(33.55% 0.1171 -0.0339)
OKLCHoklch(33.55% 0.122 343.8)
XYZxyz(5.9381, 3.2551, 6.1087)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1246 #125E2A
analogous
#50125E #5E1246 #5E1220
triadic
#5E1246 #465E12 #12465E
tetradic
#5E1246 #5E5012 #125E2A #12205E
square
#5E1246 #5E5012 #125E2A #12205E
split-complementary
#5E1246 #205E12 #125E50
monochromatic
#1A0513 #2B0820 #5E1246 #911C6C #C52693

Accessibility & contrast

On white

12.72
#5E1246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1246
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1246#FFFFFF#000000##FFFFFF
##5E12461.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A47
Deuteranopia (green-blind)
#323744
Tritanopia (blue-blind)
#65122A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1246;
/* rgb */ color: rgb(94, 18, 70);
/* oklch */ color: oklch(33.5% 0.122 343.8);
Tailwind
colors: {
  custom: {
    50: '#8f5979',
    500: '#5e1246',
    950: '#000000',
  },
}
SCSS
$custom: #5e1246;
$custom-light: #8f5979;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1246",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 318.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33546,
    "c": 0.12188,
    "h": 343.8
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#5E1246
secondary
#359654
accent
#EB743D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1246

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

Preview Lab → · Contrast checker → · Palette generator →

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