#5E1741#5E1741

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

Color values

HEX#5E1741
RGBrgb(94, 23, 65)
HSLhsl(325, 61%, 23%)
HSVhsv(325, 76%, 37%)
CMYKcmyk(0%, 75.5%, 30.9%, 63.1%)
CIE-LABlab(21.49, 36.14, -8.58)
CIE-LCHlch(21.49, 37.14, 346.64°)
OKLaboklab(33.8% 0.11 -0.0225)
OKLCHoklch(33.8% 0.112 348.4)
XYZxyz(5.8769, 3.3748, 5.3419)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1741 #175E34
analogous
#57175E #5E1741 #5E171D
triadic
#5E1741 #415E17 #17415E
tetradic
#5E1741 #5E5717 #175E34 #171D5E
square
#5E1741 #5E5717 #175E34 #171D5E
split-complementary
#5E1741 #1D5E17 #175E57
monochromatic
#190611 #2D0B1F #5E1741 #8F2363 #C02F85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1741#FFFFFF#000000##FFFFFF
##5E17411.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)
#212C42
Deuteranopia (green-blind)
#36383F
Tritanopia (blue-blind)
#651429
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1741;
/* rgb */ color: rgb(94, 23, 65);
/* oklch */ color: oklch(33.8% 0.112 348.4);
Tailwind
colors: {
  custom: {
    50: '#8f5b75',
    500: '#5e1741',
    950: '#000000',
  },
}
SCSS
$custom: #5e1741;
$custom-light: #8f5b75;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1741",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 324.507,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33798,
    "c": 0.11225,
    "h": 348.4
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#5E1741
secondary
#3C9560
accent
#E48544
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1741

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

Preview Lab → · Contrast checker → · Palette generator →

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