#5E1945#5E1945

#5E1945 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.2% C 0.112 H 345.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#5E1945
RGBrgb(94, 25, 69)
HSLhsl(322, 58%, 23%)
HSVhsv(322, 73%, 37%)
CMYKcmyk(0%, 73.4%, 26.6%, 63.1%)
CIE-LABlab(21.96, 35.87, -10.60)
CIE-LCHlch(21.96, 37.41, 343.54°)
OKLaboklab(34.21% 0.1084 -0.0281)
OKLCHoklch(34.21% 0.112 345.5)
XYZxyz(6.0381, 3.5052, 5.9877)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1945 #195E32
analogous
#54195E #5E1945 #5E1922
triadic
#5E1945 #455E19 #19455E
tetradic
#5E1945 #5E5419 #195E32 #19225E
square
#5E1945 #5E5419 #195E32 #19225E
split-complementary
#5E1945 #225E19 #195E54
monochromatic
#180612 #2E0C22 #5E1945 #8E2668 #BF338C

Accessibility & contrast

On white

12.35
#5E1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1945
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1945#FFFFFF#000000##FFFFFF
##5E19451.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D46
Deuteranopia (green-blind)
#353943
Tritanopia (blue-blind)
#65182C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1945;
/* rgb */ color: rgb(94, 25, 69);
/* oklch */ color: oklch(34.2% 0.112 345.5);
Tailwind
colors: {
  custom: {
    50: '#8f5c78',
    500: '#5e1945',
    950: '#000000',
  },
}
SCSS
$custom: #5e1945;
$custom-light: #8f5c78;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1945",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 321.739,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.112,
    "h": 345.5
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#5E1945
secondary
#3F945E
accent
#E17F47
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1945

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

Preview Lab → · Contrast checker → · Palette generator →

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