#5E1950#5E1950

#5E1950 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 34.8% C 0.120 H 337.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5E1950
RGBrgb(94, 25, 80)
HSLhsl(312, 58%, 23%)
HSVhsv(312, 73%, 37%)
CMYKcmyk(0%, 73.4%, 14.9%, 63.1%)
CIE-LABlab(22.50, 37.61, -17.24)
CIE-LCHlch(22.50, 41.38, 335.37°)
OKLaboklab(34.77% 0.1106 -0.0468)
OKLCHoklch(34.77% 0.12 337.1)
XYZxyz(6.4118, 3.6547, 7.9556)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1950 #195E27
analogous
#49195E #5E1950 #5E192D
triadic
#5E1950 #505E19 #19505E
tetradic
#5E1950 #5E4919 #195E27 #192D5E
square
#5E1950 #5E4919 #195E27 #192D5E
split-complementary
#5E1950 #2D5E19 #195E49
monochromatic
#180615 #2E0C27 #5E1950 #8E2679 #BF33A2

Accessibility & contrast

On white

12.13
#5E1950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5E1950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1950
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1950#FFFFFF#000000##FFFFFF
##5E19501.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F52
Deuteranopia (green-blind)
#313A4E
Tritanopia (blue-blind)
#631D32
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1950;
/* rgb */ color: rgb(94, 25, 80);
/* oklch */ color: oklch(34.8% 0.120 337.1);
Tailwind
colors: {
  custom: {
    50: '#8e5c81',
    500: '#5e1950',
    950: '#000000',
  },
}
SCSS
$custom: #5e1950;
$custom-light: #8e5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1950",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 312.174,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34767,
    "c": 0.12011,
    "h": 337.1
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#5E1950
secondary
#3F9450
accent
#E16647
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1950

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

Preview Lab → · Contrast checker → · Palette generator →

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