#5E124A#5E124A

#5E124A is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.125 H 340.9°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#5E124A
RGBrgb(94, 18, 74)
HSLhsl(316, 68%, 22%)
HSVhsv(316, 81%, 37%)
CMYKcmyk(0%, 80.9%, 21.3%, 63.1%)
CIE-LABlab(21.23, 39.35, -15.14)
CIE-LCHlch(21.23, 42.16, 338.96°)
OKLaboklab(33.75% 0.1178 -0.0408)
OKLCHoklch(33.75% 0.125 340.9)
XYZxyz(6.0686, 3.3073, 6.7960)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E124A #125E26
analogous
#4C125E #5E124A #5E1224
triadic
#5E124A #4A5E12 #124A5E
tetradic
#5E124A #5E4C12 #125E26 #12245E
square
#5E124A #5E4C12 #125E26 #12245E
split-complementary
#5E124A #245E12 #125E4C
monochromatic
#1A0514 #2B0822 #5E124A #911C72 #C5269B

Accessibility & contrast

On white

12.64
#5E124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E124A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E124A#FFFFFF#000000##FFFFFF
##5E124A1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4C
Deuteranopia (green-blind)
#313748
Tritanopia (blue-blind)
#64142C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e124a;
/* rgb */ color: rgb(94, 18, 74);
/* oklch */ color: oklch(33.8% 0.125 340.9);
Tailwind
colors: {
  custom: {
    50: '#8f597c',
    500: '#5e124a',
    950: '#000000',
  },
}
SCSS
$custom: #5e124a;
$custom-light: #8f597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e124a",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 315.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33753,
    "c": 0.12465,
    "h": 340.9
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#5E124A
secondary
#35964F
accent
#EB6B3D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E124A

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

Preview Lab → · Contrast checker → · Palette generator →

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