#5E1D4E#5E1D4E

#5E1D4E is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.1% C 0.113 H 338.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#5E1D4E
RGBrgb(94, 29, 78)
HSLhsl(315, 53%, 24%)
HSVhsv(315, 69%, 37%)
CMYKcmyk(0%, 69.1%, 17%, 63.1%)
CIE-LABlab(23.03, 35.51, -15.06)
CIE-LCHlch(23.03, 38.57, 337.01°)
OKLaboklab(35.12% 0.105 -0.0407)
OKLCHoklch(35.12% 0.113 338.8)
XYZxyz(6.4307, 3.8090, 7.6028)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D4E #1D5E2D
analogous
#4E1D5E #5E1D4E #5E1D2E
triadic
#5E1D4E #4E5E1D #1D4E5E
tetradic
#5E1D4E #5E4E1D #1D5E2D #1D2E5E
square
#5E1D4E #5E4E1D #1D5E2D #1D2E5E
split-complementary
#5E1D4E #2E5E1D #1D5E4E
monochromatic
#170713 #2F0F27 #5E1D4E #8D2B75 #BC3A9C

Accessibility & contrast

On white

11.92
#5E1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5E1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D4E
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D4E#FFFFFF#000000##FFFFFF
##5E1D4E1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20304F
Deuteranopia (green-blind)
#343B4C
Tritanopia (blue-blind)
#631F32
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1d4e;
/* rgb */ color: rgb(94, 29, 78);
/* oklch */ color: oklch(35.1% 0.113 338.8);
Tailwind
colors: {
  custom: {
    50: '#8e5e7f',
    500: '#5e1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d4e;
$custom-light: #8e5e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d4e",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 314.769,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35123,
    "c": 0.11259,
    "h": 338.8
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#5E1D4E
secondary
#449357
accent
#DC6F4C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D050A
muted
#7D797C

Preview Lab

Preview with #5E1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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