#5E0F47#5E0F47

#5E0F47 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.126 H 342.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#5E0F47
RGBrgb(94, 15, 71)
HSLhsl(317, 72%, 21%)
HSVhsv(317, 84%, 37%)
CMYKcmyk(0%, 84%, 24.5%, 63.1%)
CIE-LABlab(20.74, 39.89, -13.85)
CIE-LCHlch(20.74, 42.23, 340.85°)
OKLaboklab(33.35% 0.1203 -0.0371)
OKLCHoklch(33.35% 0.126 342.8)
XYZxyz(5.9245, 3.1769, 6.2612)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F47 #0F5E26
analogous
#4E0F5E #5E0F47 #5E0F20
triadic
#5E0F47 #475E0F #0F475E
tetradic
#5E0F47 #5E4E0F #0F5E26 #0F205E
square
#5E0F47 #5E4E0F #0F5E26 #0F205E
split-complementary
#5E0F47 #205E0F #0F5E4E
monochromatic
#1A0414 #29071F #5E0F47 #93176F #C82097

Accessibility & contrast

On white

12.84
#5E0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E0F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0F47
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F47#FFFFFF#000000##FFFFFF
##5E0F471.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A48
Deuteranopia (green-blind)
#313745
Tritanopia (blue-blind)
#650F2A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e0f47;
/* rgb */ color: rgb(94, 15, 71);
/* oklch */ color: oklch(33.3% 0.126 342.8);
Tailwind
colors: {
  custom: {
    50: '#8f587a',
    500: '#5e0f47',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f47;
$custom-light: #8f587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f47",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 317.468,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33345,
    "c": 0.1259,
    "h": 342.8
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#5E0F47
secondary
#31974F
accent
#EF6E39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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