#5E1328#5E1328

#5E1328 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.107 H 9.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5E1328
RGBrgb(94, 19, 40)
HSLhsl(343, 66%, 22%)
HSVhsv(343, 80%, 37%)
CMYKcmyk(0%, 79.8%, 57.4%, 63.1%)
CIE-LABlab(20.04, 34.86, 6.77)
CIE-LCHlch(20.04, 35.51, 10.99°)
OKLaboklab(32.45% 0.1059 0.0172)
OKLCHoklch(32.45% 0.107 9.2)
XYZxyz(5.2325, 2.9994, 2.3105)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1328 #135E49
analogous
#5E134E #5E1328 #5E2413
triadic
#5E1328 #285E13 #13285E
tetradic
#5E1328 #4E5E13 #135E49 #24135E
square
#5E1328 #4E5E13 #135E49 #24135E
split-complementary
#5E1328 #135E24 #134E5E
monochromatic
#19050B #2B0912 #5E1328 #911D3E #C42853

Accessibility & contrast

On white

13.13
#5E1328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1328
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1328#FFFFFF#000000##FFFFFF
##5E13281.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262728
Deuteranopia (green-blind)
#3A3626
Tritanopia (blue-blind)
#67011C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5e1328;
/* rgb */ color: rgb(94, 19, 40);
/* oklch */ color: oklch(32.4% 0.107 9.2);
Tailwind
colors: {
  custom: {
    50: '#905861',
    500: '#5e1328',
    950: '#000000',
  },
}
SCSS
$custom: #5e1328;
$custom-light: #905861;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1328",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 343.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32448,
    "c": 0.10729,
    "h": 9.2
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#5E1328
secondary
#37967B
accent
#E9B93F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5E1328

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

Preview Lab → · Contrast checker → · Palette generator →

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