#5E124C#5E124C

#5E124C is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.9% C 0.126 H 339.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5E124C
RGBrgb(94, 18, 76)
HSLhsl(314, 68%, 22%)
HSVhsv(314, 81%, 37%)
CMYKcmyk(0%, 80.9%, 19.1%, 63.1%)
CIE-LABlab(21.34, 39.65, -16.34)
CIE-LCHlch(21.34, 42.89, 337.61°)
OKLaboklab(33.86% 0.1181 -0.0442)
OKLCHoklch(33.86% 0.126 339.5)
XYZxyz(6.1371, 3.3347, 7.1565)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E124C #125E24
analogous
#4A125E #5E124C #5E1226
triadic
#5E124C #4C5E12 #124C5E
tetradic
#5E124C #5E4A12 #125E24 #12265E
square
#5E124C #5E4A12 #125E24 #12265E
split-complementary
#5E124C #265E12 #125E4A
monochromatic
#1A0515 #2B0822 #5E124C #911C76 #C5269F

Accessibility & contrast

On white

12.60
#5E124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E124C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E124C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E124C#FFFFFF#000000##FFFFFF
##5E124C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172C4E
Deuteranopia (green-blind)
#30374A
Tritanopia (blue-blind)
#64152D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e124c;
/* rgb */ color: rgb(94, 18, 76);
/* oklch */ color: oklch(33.9% 0.126 339.5);
Tailwind
colors: {
  custom: {
    50: '#8f597e',
    500: '#5e124c',
    950: '#000000',
  },
}
SCSS
$custom: #5e124c;
$custom-light: #8f597e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e124c",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 314.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3386,
    "c": 0.1261,
    "h": 339.5
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#5E124C
secondary
#35964C
accent
#EB663D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E124C

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

Preview Lab → · Contrast checker → · Palette generator →

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