#5E0F48#5E0F48

#5E0F48 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.127 H 342.1°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5E0F48
RGBrgb(94, 15, 72)
HSLhsl(317, 72%, 21%)
HSVhsv(317, 84%, 37%)
CMYKcmyk(0%, 84%, 23.4%, 63.1%)
CIE-LABlab(20.79, 40.04, -14.46)
CIE-LCHlch(20.79, 42.57, 340.14°)
OKLaboklab(33.4% 0.1205 -0.0389)
OKLCHoklch(33.4% 0.127 342.1)
XYZxyz(5.9568, 3.1898, 6.4316)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0F48 #0F5E25
analogous
#4D0F5E #5E0F48 #5E0F21
triadic
#5E0F48 #485E0F #0F485E
tetradic
#5E0F48 #5E4D0F #0F5E25 #0F215E
square
#5E0F48 #5E4D0F #0F5E25 #0F215E
split-complementary
#5E0F48 #215E0F #0F5E4D
monochromatic
#1A0414 #290720 #5E0F48 #931770 #C82099

Accessibility & contrast

On white

12.82
#5E0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E0F48
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0F48#FFFFFF#000000##FFFFFF
##5E0F481.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A49
Deuteranopia (green-blind)
#313746
Tritanopia (blue-blind)
#64102A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e0f48;
/* rgb */ color: rgb(94, 15, 72);
/* oklch */ color: oklch(33.4% 0.127 342.1);
Tailwind
colors: {
  custom: {
    50: '#8f587b',
    500: '#5e0f48',
    950: '#000000',
  },
}
SCSS
$custom: #5e0f48;
$custom-light: #8f587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0f48",
  "rgb": {
    "r": 94,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 316.709,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33398,
    "c": 0.12659,
    "h": 342.1
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#5E0F48
secondary
#31974E
accent
#EF6B39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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