#5E1249#5E1249

#5E1249 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.124 H 341.6°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5E1249
RGBrgb(94, 18, 73)
HSLhsl(317, 68%, 22%)
HSVhsv(317, 81%, 37%)
CMYKcmyk(0%, 80.9%, 22.3%, 63.1%)
CIE-LABlab(21.18, 39.20, -14.53)
CIE-LCHlch(21.18, 41.80, 339.66°)
OKLaboklab(33.7% 0.1176 -0.0391)
OKLCHoklch(33.7% 0.124 341.6)
XYZxyz(6.0352, 3.2940, 6.6200)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1249 #125E27
analogous
#4D125E #5E1249 #5E1223
triadic
#5E1249 #495E12 #12495E
tetradic
#5E1249 #5E4D12 #125E27 #12235E
square
#5E1249 #5E4D12 #125E27 #12235E
split-complementary
#5E1249 #235E12 #125E4D
monochromatic
#1A0514 #2B0821 #5E1249 #911C71 #C52699

Accessibility & contrast

On white

12.66
#5E1249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1249
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1249#FFFFFF#000000##FFFFFF
##5E12491.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192B4A
Deuteranopia (green-blind)
#313747
Tritanopia (blue-blind)
#64132C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1249;
/* rgb */ color: rgb(94, 18, 73);
/* oklch */ color: oklch(33.7% 0.124 341.6);
Tailwind
colors: {
  custom: {
    50: '#8f597c',
    500: '#5e1249',
    950: '#000000',
  },
}
SCSS
$custom: #5e1249;
$custom-light: #8f597c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1249",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 316.579,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.337,
    "c": 0.12394,
    "h": 341.6
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#5E1249
secondary
#359650
accent
#EB6D3D
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1249

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

Preview Lab → · Contrast checker → · Palette generator →

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