#5E2140#5E2140

#5E2140 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.0% C 0.096 H 351.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#5E2140
RGBrgb(94, 33, 64)
HSLhsl(330, 48%, 25%)
HSVhsv(330, 65%, 37%)
CMYKcmyk(0%, 64.9%, 31.9%, 63.1%)
CIE-LABlab(23.13, 31.37, -5.42)
CIE-LCHlch(23.13, 31.83, 350.19°)
OKLaboklab(34.99% 0.0953 -0.014)
OKLCHoklch(34.99% 0.096 351.6)
XYZxyz(6.0856, 3.8382, 5.2698)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E2140 #215E3F
analogous
#5D215E #5E2140 #5E2122
triadic
#5E2140 #405E21 #21405E
tetradic
#5E2140 #5E5D21 #215E3F #21225E
square
#5E2140 #5E5D21 #215E3F #21225E
split-complementary
#5E2140 #225E21 #215E5D
monochromatic
#17080F #311121 #5E2140 #8B315F #B9417E

Accessibility & contrast

On white

11.88
#5E2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E2140
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E2140#FFFFFF#000000##FFFFFF
##5E21401.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#3A3B3F
Tritanopia (blue-blind)
#651E2D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e2140;
/* rgb */ color: rgb(94, 33, 64);
/* oklch */ color: oklch(35.0% 0.096 351.6);
Tailwind
colors: {
  custom: {
    50: '#8e6074',
    500: '#5e2140',
    950: '#000000',
  },
}
SCSS
$custom: #5e2140;
$custom-light: #8e6074;
$custom-dark: #000000;
JSON
{
  "hex": "#5e2140",
  "rgb": {
    "r": 94,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 329.508,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34995,
    "c": 0.09633,
    "h": 351.6
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#5E2140
secondary
#49926D
accent
#D89350
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0D0508
muted
#7D797B

Preview Lab

Preview with #5E2140

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

Preview Lab → · Contrast checker → · Palette generator →

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