#5E1642#5E1642

#5E1642 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.114 H 347.4°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#5E1642
RGBrgb(94, 22, 66)
HSLhsl(323, 62%, 23%)
HSVhsv(323, 77%, 37%)
CMYKcmyk(0%, 76.6%, 29.8%, 63.1%)
CIE-LABlab(21.39, 36.68, -9.43)
CIE-LCHlch(21.39, 37.87, 345.59°)
OKLaboklab(33.74% 0.1115 -0.0249)
OKLCHoklch(33.74% 0.114 347.4)
XYZxyz(5.8866, 3.3475, 5.4893)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1642 #165E32
analogous
#56165E #5E1642 #5E161E
triadic
#5E1642 #425E16 #16425E
tetradic
#5E1642 #5E5616 #165E32 #161E5E
square
#5E1642 #5E5616 #165E32 #161E5E
split-complementary
#5E1642 #1E5E16 #165E56
monochromatic
#190611 #2C0A1F #5E1642 #902265 #C12D88

Accessibility & contrast

On white

12.58
#5E1642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5E1642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1642
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1642#FFFFFF#000000##FFFFFF
##5E16421.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#353840
Tritanopia (blue-blind)
#651329
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e1642;
/* rgb */ color: rgb(94, 22, 66);
/* oklch */ color: oklch(33.7% 0.114 347.4);
Tailwind
colors: {
  custom: {
    50: '#8f5a76',
    500: '#5e1642',
    950: '#000000',
  },
}
SCSS
$custom: #5e1642;
$custom-light: #8f5a76;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1642",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 323.333,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33739,
    "c": 0.11423,
    "h": 347.4
  },
  "luminance": 0.03347
}

Semantic roles & 50–950 ramp

primary
#5E1642
secondary
#3B955E
accent
#E58243
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1642

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

Preview Lab → · Contrast checker → · Palette generator →

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