#5D2146#5D2146

#5D2146 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.1% C 0.099 H 345.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#5D2146
RGBrgb(93, 33, 70)
HSLhsl(323, 48%, 25%)
HSVhsv(323, 65%, 36%)
CMYKcmyk(0%, 64.5%, 24.7%, 63.5%)
CIE-LABlab(23.20, 31.94, -9.42)
CIE-LCHlch(23.20, 33.30, 343.57°)
OKLaboklab(35.09% 0.096 -0.0249)
OKLCHoklch(35.09% 0.099 345.4)
XYZxyz(6.1637, 3.8576, 6.2131)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2146 #215D38
analogous
#56215D #5D2146 #5D2128
triadic
#5D2146 #465D21 #21465D
tetradic
#5D2146 #5D5621 #215D38 #21285D
square
#5D2146 #5D5621 #215D38 #21285D
split-complementary
#5D2146 #285D21 #215D56
monochromatic
#170811 #301124 #5D2146 #8A3168 #B7418A

Accessibility & contrast

On white

11.86
#5D2146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D2146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2146
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2146#FFFFFF#000000##FFFFFF
##5D21461.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273147
Deuteranopia (green-blind)
#383B45
Tritanopia (blue-blind)
#632030
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d2146;
/* rgb */ color: rgb(93, 33, 70);
/* oklch */ color: oklch(35.1% 0.099 345.4);
Tailwind
colors: {
  custom: {
    50: '#8d6079',
    500: '#5d2146',
    950: '#000000',
  },
}
SCSS
$custom: #5d2146;
$custom-light: #8d6079;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2146",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 323,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35089,
    "c": 0.0992,
    "h": 345.4
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#5D2146
secondary
#499164
accent
#D78451
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5D2146

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

Preview Lab → · Contrast checker → · Palette generator →

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