#5E1131#5E1131

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

Color values

HEX#5E1131
RGBrgb(94, 17, 49)
HSLhsl(335, 69%, 22%)
HSVhsv(335, 82%, 37%)
CMYKcmyk(0%, 81.9%, 47.9%, 63.1%)
CIE-LABlab(20.06, 36.46, 0.43)
CIE-LCHlch(20.06, 36.46, 0.68°)
OKLaboklab(32.55% 0.1119 0.0015)
OKLCHoklch(32.55% 0.112 0.8)
XYZxyz(5.3713, 3.0030, 3.2019)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1131 #115E3E
analogous
#5E1158 #5E1131 #5E1811
triadic
#5E1131 #315E11 #11315E
tetradic
#5E1131 #585E11 #115E3E #18115E
square
#5E1131 #585E11 #115E3E #18115E
split-complementary
#5E1131 #115E18 #11585E
monochromatic
#1A050E #2A0816 #5E1131 #921A4C #C62467

Accessibility & contrast

On white

13.12
#5E1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5E1131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1131
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1131#FFFFFF#000000##FFFFFF
##5E11311.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232732
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#67031F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1131;
/* rgb */ color: rgb(94, 17, 49);
/* oklch */ color: oklch(32.5% 0.112 0.8);
Tailwind
colors: {
  custom: {
    50: '#905868',
    500: '#5e1131',
    950: '#000000',
  },
}
SCSS
$custom: #5e1131;
$custom-light: #905868;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1131",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 335.065,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32549,
    "c": 0.11195,
    "h": 0.8
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#5E1131
secondary
#34976E
accent
#ECA33C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1131

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

Preview Lab → · Contrast checker → · Palette generator →

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