#5E124F#5E124F

#5E124F is a dark, vivid pink. Relative luminance 0.034; OKLCH L 34.0% C 0.128 H 337.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5E124F
RGBrgb(94, 18, 79)
HSLhsl(312, 68%, 22%)
HSVhsv(312, 81%, 37%)
CMYKcmyk(0%, 80.9%, 16%, 63.1%)
CIE-LABlab(21.50, 40.13, -18.13)
CIE-LCHlch(21.50, 44.03, 335.69°)
OKLaboklab(34.03% 0.1185 -0.0493)
OKLCHoklch(34.03% 0.128 337.4)
XYZxyz(6.2438, 3.3774, 7.7187)
Luminance0.0338 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E124F #125E21
analogous
#47125E #5E124F #5E1229
triadic
#5E124F #4F5E12 #124F5E
tetradic
#5E124F #5E4712 #125E21 #12295E
square
#5E124F #5E4712 #125E21 #12295E
split-complementary
#5E124F #295E12 #125E47
monochromatic
#1A0516 #2B0824 #5E124F #911C7A #C526A5

Accessibility & contrast

On white

12.53
#5E124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E124F
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E124F#FFFFFF#000000##FFFFFF
##5E124F1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152C51
Deuteranopia (green-blind)
#2F384D
Tritanopia (blue-blind)
#63172F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e124f;
/* rgb */ color: rgb(94, 18, 79);
/* oklch */ color: oklch(34.0% 0.128 337.4);
Tailwind
colors: {
  custom: {
    50: '#8f5980',
    500: '#5e124f',
    950: '#000000',
  },
}
SCSS
$custom: #5e124f;
$custom-light: #8f5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5e124f",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 311.842,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34027,
    "c": 0.12832,
    "h": 337.4
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#5E124F
secondary
#359649
accent
#EB5F3D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E124F

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

Preview Lab → · Contrast checker → · Palette generator →

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