#5E1645#5E1645

#5E1645 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.116 H 345.0°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#5E1645
RGBrgb(94, 22, 69)
HSLhsl(321, 62%, 23%)
HSVhsv(321, 77%, 37%)
CMYKcmyk(0%, 76.6%, 26.6%, 63.1%)
CIE-LABlab(21.52, 37.11, -11.28)
CIE-LCHlch(21.52, 38.79, 343.09°)
OKLaboklab(33.88% 0.1122 -0.03)
OKLCHoklch(33.88% 0.116 345)
XYZxyz(5.9774, 3.3838, 5.9674)
Luminance0.0338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1645 #165E2F
analogous
#53165E #5E1645 #5E1621
triadic
#5E1645 #455E16 #16455E
tetradic
#5E1645 #5E5316 #165E2F #16215E
square
#5E1645 #5E5316 #165E2F #16215E
split-complementary
#5E1645 #215E16 #165E53
monochromatic
#190612 #2C0A21 #5E1645 #902269 #C12D8E

Accessibility & contrast

On white

12.53
#5E1645 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E1645 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1645
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1645#FFFFFF#000000##FFFFFF
##5E16451.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C46
Deuteranopia (green-blind)
#343843
Tritanopia (blue-blind)
#65152B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1645;
/* rgb */ color: rgb(94, 22, 69);
/* oklch */ color: oklch(33.9% 0.116 345.0);
Tailwind
colors: {
  custom: {
    50: '#8f5b78',
    500: '#5e1645',
    950: '#000000',
  },
}
SCSS
$custom: #5e1645;
$custom-light: #8f5b78;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1645",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 69
  },
  "hsl": {
    "h": 320.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.11617,
    "h": 345
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#5E1645
secondary
#3B955A
accent
#E57B43
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1645

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

Preview Lab → · Contrast checker → · Palette generator →

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