#5E1038#5E1038

#5E1038 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.116 H 354.6°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#5E1038
RGBrgb(94, 16, 56)
HSLhsl(329, 71%, 22%)
HSVhsv(329, 83%, 37%)
CMYKcmyk(0%, 83%, 40.4%, 63.1%)
CIE-LABlab(20.19, 37.59, -4.29)
CIE-LCHlch(20.19, 37.83, 353.49°)
OKLaboklab(32.73% 0.1155 -0.0108)
OKLCHoklch(32.73% 0.116 354.6)
XYZxyz(5.5156, 3.0365, 4.0363)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1038 #105E36
analogous
#5D105E #5E1038 #5E1011
triadic
#5E1038 #385E10 #10385E
tetradic
#5E1038 #5E5D10 #105E36 #10115E
square
#5E1038 #5E5D10 #105E36 #10115E
split-complementary
#5E1038 #115E10 #105E5D
monochromatic
#1A0410 #2A0719 #5E1038 #921957 #C72276

Accessibility & contrast

On white

13.07
#5E1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5E1038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1038
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1038#FFFFFF#000000##FFFFFF
##5E10381.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202839
Deuteranopia (green-blind)
#363636
Tritanopia (blue-blind)
#660622
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1038;
/* rgb */ color: rgb(94, 16, 56);
/* oklch */ color: oklch(32.7% 0.116 354.6);
Tailwind
colors: {
  custom: {
    50: '#90586e',
    500: '#5e1038',
    950: '#000000',
  },
}
SCSS
$custom: #5e1038;
$custom-light: #90586e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1038",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 329.231,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32729,
    "c": 0.11602,
    "h": 354.6
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#5E1038
secondary
#339764
accent
#EE923A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1038

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

Preview Lab → · Contrast checker → · Palette generator →

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