#5E1045#5E1045

#5E1045 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.123 H 344.4°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#5E1045
RGBrgb(94, 16, 69)
HSLhsl(319, 71%, 22%)
HSVhsv(319, 83%, 37%)
CMYKcmyk(0%, 83%, 26.6%, 63.1%)
CIE-LABlab(20.75, 39.28, -12.46)
CIE-LCHlch(20.75, 41.21, 342.41°)
OKLaboklab(33.32% 0.1189 -0.0332)
OKLCHoklch(33.32% 0.124 344.4)
XYZxyz(5.8758, 3.1806, 5.9335)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1045 #105E29
analogous
#50105E #5E1045 #5E101E
triadic
#5E1045 #455E10 #10455E
tetradic
#5E1045 #5E5010 #105E29 #101E5E
square
#5E1045 #5E5010 #105E29 #101E5E
split-complementary
#5E1045 #1E5E10 #105E50
monochromatic
#1A0413 #2A071F #5E1045 #92196B #C72292

Accessibility & contrast

On white

12.84
#5E1045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1045
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1045#FFFFFF#000000##FFFFFF
##5E10451.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#323743
Tritanopia (blue-blind)
#650F29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1045;
/* rgb */ color: rgb(94, 16, 69);
/* oklch */ color: oklch(33.3% 0.123 344.4);
Tailwind
colors: {
  custom: {
    50: '#8f5878',
    500: '#5e1045',
    950: '#000000',
  },
}
SCSS
$custom: #5e1045;
$custom-light: #8f5878;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1045",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 319.231,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33324,
    "c": 0.1235,
    "h": 344.4
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#5E1045
secondary
#339753
accent
#EE743A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1045

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

Preview Lab → · Contrast checker → · Palette generator →

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