#5D2247#5D2247

#5D2247 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.3% C 0.098 H 344.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#5D2247
RGBrgb(93, 34, 71)
HSLhsl(322, 46%, 25%)
HSVhsv(322, 63%, 36%)
CMYKcmyk(0%, 63.4%, 23.7%, 63.5%)
CIE-LABlab(23.43, 31.58, -9.74)
CIE-LCHlch(23.43, 33.05, 342.85°)
OKLaboklab(35.28% 0.0947 -0.0258)
OKLCHoklch(35.28% 0.098 344.7)
XYZxyz(6.2237, 3.9267, 6.3902)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2247 #225D38
analogous
#56225D #5D2247 #5D2229
triadic
#5D2247 #475D22 #22475D
tetradic
#5D2247 #5D5622 #225D38 #22295D
square
#5D2247 #5D5622 #225D38 #22295D
split-complementary
#5D2247 #295D22 #225D56
monochromatic
#160811 #301225 #5D2247 #8A3269 #B7438B

Accessibility & contrast

On white

11.76
#5D2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2247
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2247#FFFFFF#000000##FFFFFF
##5D22471.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273248
Deuteranopia (green-blind)
#383B46
Tritanopia (blue-blind)
#632231
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d2247;
/* rgb */ color: rgb(93, 34, 71);
/* oklch */ color: oklch(35.3% 0.098 344.7);
Tailwind
colors: {
  custom: {
    50: '#8d617a',
    500: '#5d2247',
    950: '#000000',
  },
}
SCSS
$custom: #5d2247;
$custom-light: #8d617a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2247",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 322.373,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35275,
    "c": 0.0982,
    "h": 344.7
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#5D2247
secondary
#4A9164
accent
#D68352
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5D2247

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

Preview Lab → · Contrast checker → · Palette generator →

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