#5E1031#5E1031

#5E1031 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.113 H 0.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5E1031
RGBrgb(94, 16, 49)
HSLhsl(335, 71%, 22%)
HSVhsv(335, 83%, 37%)
CMYKcmyk(0%, 83%, 47.9%, 63.1%)
CIE-LABlab(19.93, 36.81, 0.26)
CIE-LCHlch(19.93, 36.81, 0.40°)
OKLaboklab(32.46% 0.113 0.0011)
OKLCHoklch(32.46% 0.113 0.5)
XYZxyz(5.3562, 2.9727, 3.1969)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1031 #105E3D
analogous
#5E1058 #5E1031 #5E1610
triadic
#5E1031 #315E10 #10315E
tetradic
#5E1031 #585E10 #105E3D #16105E
square
#5E1031 #585E10 #105E3D #16105E
split-complementary
#5E1031 #105E16 #10585E
monochromatic
#1A040E #2A0716 #5E1031 #92194C #C72268

Accessibility & contrast

On white

13.17
#5E1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5E1031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1031
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1031#FFFFFF#000000##FFFFFF
##5E10311.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222732
Deuteranopia (green-blind)
#37362F
Tritanopia (blue-blind)
#67021F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1031;
/* rgb */ color: rgb(94, 16, 49);
/* oklch */ color: oklch(32.5% 0.113 0.5);
Tailwind
colors: {
  custom: {
    50: '#905768',
    500: '#5e1031',
    950: '#000000',
  },
}
SCSS
$custom: #5e1031;
$custom-light: #905768;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1031",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 334.615,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32459,
    "c": 0.11305,
    "h": 0.5
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#5E1031
secondary
#33976D
accent
#EEA23A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1031

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

Preview Lab → · Contrast checker → · Palette generator →

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