#5E163B#5E163B

#5E163B is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.110 H 353.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#5E163B
RGBrgb(94, 22, 59)
HSLhsl(329, 62%, 23%)
HSVhsv(329, 77%, 37%)
CMYKcmyk(0%, 76.6%, 37.2%, 63.1%)
CIE-LABlab(21.09, 35.74, -5.03)
CIE-LCHlch(21.09, 36.09, 351.99°)
OKLaboklab(33.43% 0.1095 -0.0129)
OKLCHoklch(33.43% 0.11 353.3)
XYZxyz(5.6928, 3.2699, 4.4682)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E163B #165E39
analogous
#5D165E #5E163B #5E1617
triadic
#5E163B #3B5E16 #163B5E
tetradic
#5E163B #5E5D16 #165E39 #16175E
square
#5E163B #5E5D16 #165E39 #16175E
split-complementary
#5E163B #175E16 #165E5D
monochromatic
#190610 #2C0A1C #5E163B #90225A #C12D79

Accessibility & contrast

On white

12.70
#5E163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E163B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E163B#FFFFFF#000000##FFFFFF
##5E163B1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232A3C
Deuteranopia (green-blind)
#373739
Tritanopia (blue-blind)
#661026
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e163b;
/* rgb */ color: rgb(94, 22, 59);
/* oklch */ color: oklch(33.4% 0.110 353.3);
Tailwind
colors: {
  custom: {
    50: '#8f5a70',
    500: '#5e163b',
    950: '#000000',
  },
}
SCSS
$custom: #5e163b;
$custom-light: #8f5a70;
$custom-dark: #000000;
JSON
{
  "hex": "#5e163b",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 329.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3343,
    "c": 0.1102,
    "h": 353.3
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#5E163B
secondary
#3B9567
accent
#E59243
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E163B

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

Preview Lab → · Contrast checker → · Palette generator →

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