#5E1242#5E1242

#5E1242 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.4% C 0.119 H 346.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5E1242
RGBrgb(94, 18, 66)
HSLhsl(322, 68%, 22%)
HSVhsv(322, 81%, 37%)
CMYKcmyk(0%, 80.9%, 29.8%, 63.1%)
CIE-LABlab(20.85, 38.19, -10.24)
CIE-LCHlch(20.85, 39.53, 344.99°)
OKLaboklab(33.35% 0.1162 -0.0271)
OKLCHoklch(33.35% 0.119 346.9)
XYZxyz(5.8160, 3.2063, 5.4658)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1242 #125E2E
analogous
#54125E #5E1242 #5E121C
triadic
#5E1242 #425E12 #12425E
tetradic
#5E1242 #5E5412 #125E2E #121C5E
square
#5E1242 #5E5412 #125E2E #121C5E
split-complementary
#5E1242 #1C5E12 #125E54
monochromatic
#1A0512 #2B081E #5E1242 #911C66 #C5268A

Accessibility & contrast

On white

12.80
#5E1242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1242
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1242#FFFFFF#000000##FFFFFF
##5E12421.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A43
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#650F28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1242;
/* rgb */ color: rgb(94, 18, 66);
/* oklch */ color: oklch(33.4% 0.119 346.9);
Tailwind
colors: {
  custom: {
    50: '#8f5976',
    500: '#5e1242',
    950: '#000000',
  },
}
SCSS
$custom: #5e1242;
$custom-light: #8f5976;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1242",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 322.105,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3335,
    "c": 0.11928,
    "h": 346.9
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#5E1242
secondary
#359659
accent
#EB7D3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1242

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

Preview Lab → · Contrast checker → · Palette generator →

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