#5E1F4E#5E1F4E

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

Color values

HEX#5E1F4E
RGBrgb(94, 31, 78)
HSLhsl(315, 50%, 25%)
HSVhsv(315, 67%, 37%)
CMYKcmyk(0%, 67%, 17%, 63.1%)
CIE-LABlab(23.37, 34.56, -14.53)
CIE-LCHlch(23.37, 37.49, 337.19°)
OKLaboklab(35.37% 0.1022 -0.0392)
OKLCHoklch(35.37% 0.109 339)
XYZxyz(6.4813, 3.9103, 7.6197)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1F4E #1F5E2F
analogous
#4F1F5E #5E1F4E #5E1F2F
triadic
#5E1F4E #4E5E1F #1F4E5E
tetradic
#5E1F4E #5E4F1F #1F5E2F #1F2F5E
square
#5E1F4E #5E4F1F #1F5E2F #1F2F5E
split-complementary
#5E1F4E #2F5E1F #1F5E4F
monochromatic
#170813 #301028 #5E1F4E #8C2E74 #BA3D9A

Accessibility & contrast

On white

11.78
#5E1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1F4E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1F4E#FFFFFF#000000##FFFFFF
##5E1F4E1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#353B4C
Tritanopia (blue-blind)
#632133
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1f4e;
/* rgb */ color: rgb(94, 31, 78);
/* oklch */ color: oklch(35.4% 0.109 339.0);
Tailwind
colors: {
  custom: {
    50: '#8e5f7f',
    500: '#5e1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5e1f4e;
$custom-light: #8e5f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1f4e",
  "rgb": {
    "r": 94,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 315.238,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35374,
    "c": 0.10943,
    "h": 339
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#5E1F4E
secondary
#46935A
accent
#DA714E
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0D050A
muted
#7D797C

Preview Lab

Preview with #5E1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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