#5E1146#5E1146

#5E1146 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.123 H 343.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#5E1146
RGBrgb(94, 17, 70)
HSLhsl(319, 69%, 22%)
HSVhsv(319, 82%, 37%)
CMYKcmyk(0%, 81.9%, 25.5%, 63.1%)
CIE-LABlab(20.92, 39.10, -12.89)
CIE-LCHlch(20.92, 41.17, 341.75°)
OKLaboklab(33.46% 0.1181 -0.0345)
OKLCHoklch(33.46% 0.123 343.7)
XYZxyz(5.9223, 3.2234, 6.1035)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1146 #115E29
analogous
#50115E #5E1146 #5E1120
triadic
#5E1146 #465E11 #11465E
tetradic
#5E1146 #5E5011 #115E29 #11205E
square
#5E1146 #5E5011 #115E29 #11205E
split-complementary
#5E1146 #205E11 #115E50
monochromatic
#1A0513 #2A081F #5E1146 #921A6D #C62493

Accessibility & contrast

On white

12.77
#5E1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1146
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1146#FFFFFF#000000##FFFFFF
##5E11461.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A47
Deuteranopia (green-blind)
#323744
Tritanopia (blue-blind)
#65112A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1146;
/* rgb */ color: rgb(94, 17, 70);
/* oklch */ color: oklch(33.5% 0.123 343.7);
Tailwind
colors: {
  custom: {
    50: '#8f5979',
    500: '#5e1146',
    950: '#000000',
  },
}
SCSS
$custom: #5e1146;
$custom-light: #8f5979;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1146",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 318.701,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33459,
    "c": 0.12304,
    "h": 343.7
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#5E1146
secondary
#349753
accent
#EC733C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5E1146

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

Preview Lab → · Contrast checker → · Palette generator →

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