#5E2149#5E2149

#5E2149 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.4% C 0.102 H 343.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#5E2149
RGBrgb(94, 33, 73)
HSLhsl(321, 48%, 25%)
HSVhsv(321, 65%, 37%)
CMYKcmyk(0%, 64.9%, 22.3%, 63.1%)
CIE-LABlab(23.50, 32.75, -10.97)
CIE-LCHlch(23.50, 34.54, 341.49°)
OKLaboklab(35.39% 0.098 -0.0292)
OKLCHoklch(35.39% 0.102 343.4)
XYZxyz(6.3627, 3.9490, 6.7292)
Luminance0.0395 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2149 #215E36
analogous
#55215E #5E2149 #5E212B
triadic
#5E2149 #495E21 #21495E
tetradic
#5E2149 #5E5521 #215E36 #212B5E
square
#5E2149 #5E5521 #215E36 #212B5E
split-complementary
#5E2149 #2B5E21 #215E55
monochromatic
#170812 #311126 #5E2149 #8B316C #B9418F

Accessibility & contrast

On white

11.73
#5E2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2149
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2149#FFFFFF#000000##FFFFFF
##5E21491.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26324A
Deuteranopia (green-blind)
#383C47
Tritanopia (blue-blind)
#642131
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e2149;
/* rgb */ color: rgb(94, 33, 73);
/* oklch */ color: oklch(35.4% 0.102 343.4);
Tailwind
colors: {
  custom: {
    50: '#8e607b',
    500: '#5e2149',
    950: '#000000',
  },
}
SCSS
$custom: #5e2149;
$custom-light: #8e607b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2149",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 320.656,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35394,
    "c": 0.10227,
    "h": 343.4
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#5E2149
secondary
#499262
accent
#D87F50
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0D0509
muted
#7D797B

Preview Lab

Preview with #5E2149

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

Preview Lab → · Contrast checker → · Palette generator →

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