#5E2142#5E2142

#5E2142 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.1% C 0.098 H 349.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#5E2142
RGBrgb(94, 33, 66)
HSLhsl(328, 48%, 25%)
HSVhsv(328, 65%, 37%)
CMYKcmyk(0%, 64.9%, 29.8%, 63.1%)
CIE-LABlab(23.21, 31.66, -6.67)
CIE-LCHlch(23.21, 32.36, 348.11°)
OKLaboklab(35.08% 0.096 -0.0174)
OKLCHoklch(35.08% 0.098 349.7)
XYZxyz(6.1436, 3.8614, 5.5750)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2142 #215E3D
analogous
#5B215E #5E2142 #5E2124
triadic
#5E2142 #425E21 #21425E
tetradic
#5E2142 #5E5B21 #215E3D #21245E
square
#5E2142 #5E5B21 #215E3D #21245E
split-complementary
#5E2142 #245E21 #215E5B
monochromatic
#170810 #311122 #5E2142 #8B3162 #B94182

Accessibility & contrast

On white

11.85
#5E2142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E2142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E2142
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2142#FFFFFF#000000##FFFFFF
##5E21421.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293143
Deuteranopia (green-blind)
#3A3B41
Tritanopia (blue-blind)
#651F2E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e2142;
/* rgb */ color: rgb(94, 33, 66);
/* oklch */ color: oklch(35.1% 0.098 349.7);
Tailwind
colors: {
  custom: {
    50: '#8e6076',
    500: '#5e2142',
    950: '#000000',
  },
}
SCSS
$custom: #5e2142;
$custom-light: #8e6076;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2142",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 66
  },
  "hsl": {
    "h": 327.541,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35079,
    "c": 0.09752,
    "h": 349.7
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#5E2142
secondary
#49926A
accent
#D88E50
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0D0508
muted
#7D797B

Preview Lab

Preview with #5E2142

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

Preview Lab → · Contrast checker → · Palette generator →

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