#5D2149#5D2149

#5D2149 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.2% C 0.101 H 342.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#5D2149
RGBrgb(93, 33, 73)
HSLhsl(320, 48%, 25%)
HSVhsv(320, 65%, 36%)
CMYKcmyk(0%, 64.5%, 21.5%, 63.5%)
CIE-LABlab(23.33, 32.42, -11.25)
CIE-LCHlch(23.33, 34.32, 340.86°)
OKLaboklab(35.23% 0.0968 -0.03)
OKLCHoklch(35.23% 0.101 342.8)
XYZxyz(6.2608, 3.8965, 6.7244)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2149 #215D35
analogous
#53215D #5D2149 #5D212B
triadic
#5D2149 #495D21 #21495D
tetradic
#5D2149 #5D5321 #215D35 #212B5D
square
#5D2149 #5D5321 #215D35 #212B5D
split-complementary
#5D2149 #2B5D21 #215D53
monochromatic
#170812 #301126 #5D2149 #8A316C #B74190

Accessibility & contrast

On white

11.80
#5D2149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D2149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2149
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2149#FFFFFF#000000##FFFFFF
##5D21491.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26314A
Deuteranopia (green-blind)
#373B48
Tritanopia (blue-blind)
#632131
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d2149;
/* rgb */ color: rgb(93, 33, 73);
/* oklch */ color: oklch(35.2% 0.101 342.8);
Tailwind
colors: {
  custom: {
    50: '#8d607b',
    500: '#5d2149',
    950: '#000000',
  },
}
SCSS
$custom: #5d2149;
$custom-light: #8d607b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2149",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 320,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35229,
    "c": 0.10138,
    "h": 342.8
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#5D2149
secondary
#499161
accent
#D77D51
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5D2149

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

Preview Lab → · Contrast checker → · Palette generator →

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