#5D163F#5D163F

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

Color values

HEX#5D163F
RGBrgb(93, 22, 63)
HSLhsl(325, 62%, 23%)
HSVhsv(325, 76%, 36%)
CMYKcmyk(0%, 76.3%, 32.3%, 63.5%)
CIE-LABlab(21.06, 35.96, -7.87)
CIE-LCHlch(21.06, 36.81, 347.65°)
OKLaboklab(33.42% 0.1096 -0.0206)
OKLCHoklch(33.42% 0.112 349.4)
XYZxyz(5.6986, 3.2605, 5.0309)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D163F #165D34
analogous
#57165D #5D163F #5D161C
triadic
#5D163F #3F5D16 #163F5D
tetradic
#5D163F #5D5716 #165D34 #161C5D
square
#5D163F #5D5716 #165D34 #161C5D
split-complementary
#5D163F #1C5D16 #165D57
monochromatic
#190611 #2C0A1D #5D163F #8E2261 #C02D82

Accessibility & contrast

On white

12.71
#5D163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D163F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D163F#FFFFFF#000000##FFFFFF
##5D163F1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d163f;
/* rgb */ color: rgb(93, 22, 63);
/* oklch */ color: oklch(33.4% 0.112 349.4);
Tailwind
colors: {
  custom: {
    50: '#8e5a74',
    500: '#5d163f',
    950: '#000000',
  },
}
SCSS
$custom: #5d163f;
$custom-light: #8e5a74;
$custom-dark: #000000;
JSON
{
  "hex": "#5d163f",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 325.352,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3342,
    "c": 0.11155,
    "h": 349.4
  },
  "luminance": 0.0326
}

Semantic roles & 50–950 ramp

primary
#5D163F
secondary
#3B9460
accent
#E58743
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D163F

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

Preview Lab → · Contrast checker → · Palette generator →

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