#5E124B#5E124B

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

Color values

HEX#5E124B
RGBrgb(94, 18, 75)
HSLhsl(315, 68%, 22%)
HSVhsv(315, 81%, 37%)
CMYKcmyk(0%, 80.9%, 20.2%, 63.1%)
CIE-LABlab(21.29, 39.50, -15.74)
CIE-LCHlch(21.29, 42.52, 338.28°)
OKLaboklab(33.81% 0.118 -0.0425)
OKLCHoklch(33.81% 0.125 340.2)
XYZxyz(6.1026, 3.3209, 6.9749)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E124B #125E25
analogous
#4B125E #5E124B #5E1225
triadic
#5E124B #4B5E12 #124B5E
tetradic
#5E124B #5E4B12 #125E25 #12255E
square
#5E124B #5E4B12 #125E25 #12255E
split-complementary
#5E124B #255E12 #125E4B
monochromatic
#1A0514 #2B0822 #5E124B #911C74 #C5269D

Accessibility & contrast

On white

12.62
#5E124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E124B
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E124B#FFFFFF#000000##FFFFFF
##5E124B1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4D
Deuteranopia (green-blind)
#313749
Tritanopia (blue-blind)
#64142D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e124b;
/* rgb */ color: rgb(94, 18, 75);
/* oklch */ color: oklch(33.8% 0.125 340.2);
Tailwind
colors: {
  custom: {
    50: '#8f597d',
    500: '#5e124b',
    950: '#000000',
  },
}
SCSS
$custom: #5e124b;
$custom-light: #8f597d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e124b",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 315,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33806,
    "c": 0.12537,
    "h": 340.2
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#5E124B
secondary
#35964E
accent
#EB683D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E124B

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

Preview Lab → · Contrast checker → · Palette generator →

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