#5E1B45#5E1B45

#5E1B45 is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.4% C 0.109 H 345.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#5E1B45
RGBrgb(94, 27, 69)
HSLhsl(322, 55%, 24%)
HSVhsv(322, 71%, 37%)
CMYKcmyk(0%, 71.3%, 26.6%, 63.1%)
CIE-LABlab(22.28, 34.99, -10.12)
CIE-LCHlch(22.28, 36.42, 343.87°)
OKLaboklab(34.44% 0.1057 -0.0268)
OKLCHoklch(34.44% 0.109 345.8)
XYZxyz(6.0824, 3.5938, 6.0024)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B45 #1B5E34
analogous
#551B5E #5E1B45 #5E1B23
triadic
#5E1B45 #455E1B #1B455E
tetradic
#5E1B45 #5E551B #1B5E34 #1B235E
square
#5E1B45 #5E551B #1B5E34 #1B235E
split-complementary
#5E1B45 #235E1B #1B5E55
monochromatic
#180711 #2E0D22 #5E1B45 #8E2968 #BD368B

Accessibility & contrast

On white

12.22
#5E1B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E1B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B45
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B45#FFFFFF#000000##FFFFFF
##5E1B451.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222E46
Deuteranopia (green-blind)
#363943
Tritanopia (blue-blind)
#651A2D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1b45;
/* rgb */ color: rgb(94, 27, 69);
/* oklch */ color: oklch(34.4% 0.109 345.8);
Tailwind
colors: {
  custom: {
    50: '#8e5d78',
    500: '#5e1b45',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b45;
$custom-light: #8e5d78;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b45",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 322.388,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34437,
    "c": 0.10905,
    "h": 345.8
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#5E1B45
secondary
#419460
accent
#DF8149
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1B45

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

Preview Lab → · Contrast checker → · Palette generator →

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