#5E1245#5E1245

#5E1245 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.121 H 344.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5E1245
RGBrgb(94, 18, 69)
HSLhsl(320, 68%, 22%)
HSVhsv(320, 81%, 37%)
CMYKcmyk(0%, 80.9%, 26.6%, 63.1%)
CIE-LABlab(20.99, 38.61, -12.09)
CIE-LCHlch(20.99, 40.46, 342.61°)
OKLaboklab(33.5% 0.1169 -0.0322)
OKLCHoklch(33.5% 0.121 344.6)
XYZxyz(5.9068, 3.2426, 5.9439)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1245 #125E2B
analogous
#51125E #5E1245 #5E121F
triadic
#5E1245 #455E12 #12455E
tetradic
#5E1245 #5E5112 #125E2B #121F5E
square
#5E1245 #5E5112 #125E2B #121F5E
split-complementary
#5E1245 #1F5E12 #125E51
monochromatic
#1A0513 #2B081F #5E1245 #911C6B #C52690

Accessibility & contrast

On white

12.74
#5E1245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1245
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1245#FFFFFF#000000##FFFFFF
##5E12451.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2A46
Deuteranopia (green-blind)
#333743
Tritanopia (blue-blind)
#65112A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1245;
/* rgb */ color: rgb(94, 18, 69);
/* oklch */ color: oklch(33.5% 0.121 344.6);
Tailwind
colors: {
  custom: {
    50: '#8f5978',
    500: '#5e1245',
    950: '#000000',
  },
}
SCSS
$custom: #5e1245;
$custom-light: #8f5978;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1245",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 319.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33496,
    "c": 0.12121,
    "h": 344.6
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#5E1245
secondary
#359655
accent
#EB763D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1245

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

Preview Lab → · Contrast checker → · Palette generator →

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