#5E1348#5E1348

#5E1348 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.7% C 0.122 H 342.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#5E1348
RGBrgb(94, 19, 72)
HSLhsl(318, 66%, 22%)
HSVhsv(318, 80%, 37%)
CMYKcmyk(0%, 79.8%, 23.4%, 63.1%)
CIE-LABlab(21.26, 38.69, -13.73)
CIE-LCHlch(21.26, 41.06, 340.46°)
OKLaboklab(33.74% 0.1164 -0.0368)
OKLCHoklch(33.74% 0.122 342.4)
XYZxyz(6.0189, 3.3139, 6.4523)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1348 #135E29
analogous
#4F135E #5E1348 #5E1323
triadic
#5E1348 #485E13 #13485E
tetradic
#5E1348 #5E4F13 #135E29 #13235E
square
#5E1348 #5E4F13 #135E29 #13235E
split-complementary
#5E1348 #235E13 #135E4F
monochromatic
#190513 #2B0921 #5E1348 #911D6F #C42896

Accessibility & contrast

On white

12.63
#5E1348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E1348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1348
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1348#FFFFFF#000000##FFFFFF
##5E13481.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B49
Deuteranopia (green-blind)
#323746
Tritanopia (blue-blind)
#64142C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1348;
/* rgb */ color: rgb(94, 19, 72);
/* oklch */ color: oklch(33.7% 0.122 342.4);
Tailwind
colors: {
  custom: {
    50: '#8f597b',
    500: '#5e1348',
    950: '#000000',
  },
}
SCSS
$custom: #5e1348;
$custom-light: #8f597b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1348",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 317.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33738,
    "c": 0.12205,
    "h": 342.4
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#5E1348
secondary
#379653
accent
#E9713F
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1348

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

Preview Lab → · Contrast checker → · Palette generator →

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