#5E1331#5E1331

#5E1331 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.110 H 1.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#5E1331
RGBrgb(94, 19, 49)
HSLhsl(336, 66%, 22%)
HSVhsv(336, 80%, 37%)
CMYKcmyk(0%, 79.8%, 47.9%, 63.1%)
CIE-LABlab(20.31, 35.74, 0.81)
CIE-LCHlch(20.31, 35.74, 1.30°)
OKLaboklab(32.74% 0.1096 0.0025)
OKLCHoklch(32.74% 0.11 1.3)
XYZxyz(5.4038, 3.0679, 3.2127)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1331 #135E40
analogous
#5E1357 #5E1331 #5E1B13
triadic
#5E1331 #315E13 #13315E
tetradic
#5E1331 #575E13 #135E40 #1B135E
square
#5E1331 #575E13 #135E40 #1B135E
split-complementary
#5E1331 #135E1B #13575E
monochromatic
#19050D #2B0916 #5E1331 #911D4C #C42866

Accessibility & contrast

On white

13.02
#5E1331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1331
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1331#FFFFFF#000000##FFFFFF
##5E13311.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242832
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#670620
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1331;
/* rgb */ color: rgb(94, 19, 49);
/* oklch */ color: oklch(32.7% 0.110 1.3);
Tailwind
colors: {
  custom: {
    50: '#905968',
    500: '#5e1331',
    950: '#000000',
  },
}
SCSS
$custom: #5e1331;
$custom-light: #905968;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1331",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 336,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32738,
    "c": 0.10964,
    "h": 1.3
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#5E1331
secondary
#379670
accent
#E9A53F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1331

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

Preview Lab → · Contrast checker → · Palette generator →

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