#5E1733#5E1733

#5E1733 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.105 H 0.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#5E1733
RGBrgb(94, 23, 51)
HSLhsl(336, 61%, 23%)
HSVhsv(336, 76%, 37%)
CMYKcmyk(0%, 75.5%, 45.7%, 63.1%)
CIE-LABlab(20.95, 34.36, 0.33)
CIE-LCHlch(20.95, 34.36, 0.55°)
OKLaboklab(33.23% 0.1053 0.0013)
OKLCHoklch(33.23% 0.105 0.7)
XYZxyz(5.5204, 3.2322, 3.4645)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1733 #175E42
analogous
#5E1756 #5E1733 #5E1E17
triadic
#5E1733 #335E17 #17335E
tetradic
#5E1733 #565E17 #175E42 #1E175E
square
#5E1733 #565E17 #175E42 #1E175E
split-complementary
#5E1733 #175E1E #17565E
monochromatic
#19060D #2D0B18 #5E1733 #8F234E #C02F68

Accessibility & contrast

On white

12.76
#5E1733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1733
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1733#FFFFFF#000000##FFFFFF
##5E17331.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262A34
Deuteranopia (green-blind)
#393731
Tritanopia (blue-blind)
#660D23
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1733;
/* rgb */ color: rgb(94, 23, 51);
/* oklch */ color: oklch(33.2% 0.105 0.7);
Tailwind
colors: {
  custom: {
    50: '#8f5a6a',
    500: '#5e1733',
    950: '#000000',
  },
}
SCSS
$custom: #5e1733;
$custom-light: #8f5a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1733",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 51
  },
  "hsl": {
    "h": 336.338,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33229,
    "c": 0.10531,
    "h": 0.7
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#5E1733
secondary
#3C9572
accent
#E4A544
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5E1733

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

Preview Lab → · Contrast checker → · Palette generator →

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