#5D224F#5D224F

#5D224F is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.7% C 0.104 H 337.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#5D224F
RGBrgb(93, 34, 79)
HSLhsl(314, 46%, 25%)
HSVhsv(314, 63%, 36%)
CMYKcmyk(0%, 63.4%, 15.1%, 63.5%)
CIE-LABlab(23.79, 32.93, -14.57)
CIE-LCHlch(23.79, 36.01, 336.13°)
OKLaboklab(35.66% 0.0968 -0.0394)
OKLCHoklch(35.66% 0.104 337.9)
XYZxyz(6.4976, 4.0363, 7.8325)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D224F #225D30
analogous
#4D225D #5D224F #5D2232
triadic
#5D224F #4F5D22 #224F5D
tetradic
#5D224F #5D4D22 #225D30 #22325D
square
#5D224F #5D4D22 #225D30 #22325D
split-complementary
#5D224F #325D22 #225D4D
monochromatic
#160813 #301229 #5D224F #8A3275 #B7439B

Accessibility & contrast

On white

11.62
#5D224F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5D224F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D224F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D224F#FFFFFF#000000##FFFFFF
##5D224F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243350
Deuteranopia (green-blind)
#353C4D
Tritanopia (blue-blind)
#622435
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5d224f;
/* rgb */ color: rgb(93, 34, 79);
/* oklch */ color: oklch(35.7% 0.104 337.9);
Tailwind
colors: {
  custom: {
    50: '#8d6180',
    500: '#5d224f',
    950: '#000000',
  },
}
SCSS
$custom: #5d224f;
$custom-light: #8d6180;
$custom-dark: #000000;
JSON
{
  "hex": "#5d224f",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 79
  },
  "hsl": {
    "h": 314.237,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35662,
    "c": 0.10445,
    "h": 337.9
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#5D224F
secondary
#4A915B
accent
#D67152
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #5D224F

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

Preview Lab → · Contrast checker → · Palette generator →

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