#5E1F47#5E1F47

#5E1F47 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.0% C 0.104 H 344.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#5E1F47
RGBrgb(94, 31, 71)
HSLhsl(322, 50%, 25%)
HSVhsv(322, 67%, 37%)
CMYKcmyk(0%, 67%, 24.5%, 63.1%)
CIE-LABlab(23.05, 33.42, -10.30)
CIE-LCHlch(23.05, 34.97, 342.87°)
OKLaboklab(35.03% 0.1005 -0.0274)
OKLCHoklch(35.03% 0.104 344.8)
XYZxyz(6.2436, 3.8152, 6.3676)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1F47 #1F5E36
analogous
#561F5E #5E1F47 #5E1F28
triadic
#5E1F47 #475E1F #1F475E
tetradic
#5E1F47 #5E561F #1F5E36 #1F285E
square
#5E1F47 #5E561F #1F5E36 #1F285E
split-complementary
#5E1F47 #285E1F #1F5E56
monochromatic
#170811 #301024 #5E1F47 #8C2E6A #BA3D8D

Accessibility & contrast

On white

11.91
#5E1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5E1F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1F47
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1F47#FFFFFF#000000##FFFFFF
##5E1F471.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253048
Deuteranopia (green-blind)
#373B45
Tritanopia (blue-blind)
#641E30
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1f47;
/* rgb */ color: rgb(94, 31, 71);
/* oklch */ color: oklch(35.0% 0.104 344.8);
Tailwind
colors: {
  custom: {
    50: '#8e5f7a',
    500: '#5e1f47',
    950: '#000000',
  },
}
SCSS
$custom: #5e1f47;
$custom-light: #8e5f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1f47",
  "rgb": {
    "r": 94,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 321.905,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35032,
    "c": 0.10415,
    "h": 344.8
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#5E1F47
secondary
#469362
accent
#DA814E
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0509
muted
#7D797B

Preview Lab

Preview with #5E1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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