#5E1241#5E1241

#5E1241 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.119 H 347.7°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#5E1241
RGBrgb(94, 18, 65)
HSLhsl(323, 68%, 22%)
HSVhsv(323, 81%, 37%)
CMYKcmyk(0%, 80.9%, 30.9%, 63.1%)
CIE-LABlab(20.81, 38.05, -9.62)
CIE-LCHlch(20.81, 39.25, 345.81°)
OKLaboklab(33.3% 0.1159 -0.0253)
OKLCHoklch(33.3% 0.119 347.7)
XYZxyz(5.7868, 3.1946, 5.3119)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1241 #125E2F
analogous
#55125E #5E1241 #5E121B
triadic
#5E1241 #415E12 #12415E
tetradic
#5E1241 #5E5512 #125E2F #121B5E
square
#5E1241 #5E5512 #125E2F #121B5E
split-complementary
#5E1241 #1B5E12 #125E55
monochromatic
#1A0512 #2B081D #5E1241 #911C65 #C52688

Accessibility & contrast

On white

12.81
#5E1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1241
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1241#FFFFFF#000000##FFFFFF
##5E12411.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2A42
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#650F28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1241;
/* rgb */ color: rgb(94, 18, 65);
/* oklch */ color: oklch(33.3% 0.119 347.7);
Tailwind
colors: {
  custom: {
    50: '#8f5975',
    500: '#5e1241',
    950: '#000000',
  },
}
SCSS
$custom: #5e1241;
$custom-light: #8f5975;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1241",
  "rgb": {
    "r": 94,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 322.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33303,
    "c": 0.11867,
    "h": 347.7
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#5E1241
secondary
#35965A
accent
#EB7F3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1241

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

Preview Lab → · Contrast checker → · Palette generator →

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