#5E1939#5E1939

#5E1939 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.105 H 355.8°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5E1939
RGBrgb(94, 25, 57)
HSLhsl(332, 58%, 23%)
HSVhsv(332, 73%, 37%)
CMYKcmyk(0%, 73.4%, 39.4%, 63.1%)
CIE-LABlab(21.47, 34.22, -3.08)
CIE-LCHlch(21.47, 34.36, 354.86°)
OKLaboklab(33.68% 0.1048 -0.0077)
OKLCHoklch(33.68% 0.105 355.8)
XYZxyz(5.7026, 3.3710, 4.2205)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1939 #195E3E
analogous
#5E195B #5E1939 #5E1B19
triadic
#5E1939 #395E19 #19395E
tetradic
#5E1939 #5B5E19 #195E3E #1B195E
square
#5E1939 #5B5E19 #195E3E #1B195E
split-complementary
#5E1939 #195E1B #195B5E
monochromatic
#18060F #2E0C1C #5E1939 #8E2656 #BF3374

Accessibility & contrast

On white

12.54
#5E1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E1939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1939
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1939#FFFFFF#000000##FFFFFF
##5E19391.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3A
Deuteranopia (green-blind)
#383837
Tritanopia (blue-blind)
#661326
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1939;
/* rgb */ color: rgb(94, 25, 57);
/* oklch */ color: oklch(33.7% 0.105 355.8);
Tailwind
colors: {
  custom: {
    50: '#8f5c6f',
    500: '#5e1939',
    950: '#000000',
  },
}
SCSS
$custom: #5e1939;
$custom-light: #8f5c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1939",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 332.174,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33684,
    "c": 0.10507,
    "h": 355.8
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#5E1939
secondary
#3F946C
accent
#E19A47
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1939

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

Preview Lab → · Contrast checker → · Palette generator →

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