#5E163F#5E163F

#5E163F is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.112 H 349.9°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#5E163F
RGBrgb(94, 22, 63)
HSLhsl(326, 62%, 23%)
HSVhsv(326, 77%, 37%)
CMYKcmyk(0%, 76.6%, 33%, 63.1%)
CIE-LABlab(21.26, 36.27, -7.56)
CIE-LCHlch(21.26, 37.05, 348.23°)
OKLaboklab(33.6% 0.1107 -0.0197)
OKLCHoklch(33.6% 0.112 349.9)
XYZxyz(5.8005, 3.3130, 5.0357)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E163F #165E35
analogous
#59165E #5E163F #5E161B
triadic
#5E163F #3F5E16 #163F5E
tetradic
#5E163F #5E5916 #165E35 #161B5E
square
#5E163F #5E5916 #165E35 #161B5E
split-complementary
#5E163F #1B5E16 #165E59
monochromatic
#190611 #2C0A1E #5E163F #902260 #C12D81

Accessibility & contrast

On white

12.63
#5E163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5E163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E163F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E163F#FFFFFF#000000##FFFFFF
##5E163F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#36383D
Tritanopia (blue-blind)
#651228
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e163f;
/* rgb */ color: rgb(94, 22, 63);
/* oklch */ color: oklch(33.6% 0.112 349.9);
Tailwind
colors: {
  custom: {
    50: '#8f5a74',
    500: '#5e163f',
    950: '#000000',
  },
}
SCSS
$custom: #5e163f;
$custom-light: #8f5a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e163f",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 325.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33602,
    "c": 0.11241,
    "h": 349.9
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#5E163F
secondary
#3B9562
accent
#E58943
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E163F

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

Preview Lab → · Contrast checker → · Palette generator →

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