#5D224B#5D224B

#5D224B is a dark, moderate pink. Relative luminance 0.040; OKLCH L 35.5% C 0.101 H 341.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#5D224B
RGBrgb(93, 34, 75)
HSLhsl(318, 46%, 25%)
HSVhsv(318, 63%, 36%)
CMYKcmyk(0%, 63.4%, 19.4%, 63.5%)
CIE-LABlab(23.60, 32.24, -12.17)
CIE-LCHlch(23.60, 34.46, 339.32°)
OKLaboklab(35.46% 0.0958 -0.0326)
OKLCHoklch(35.46% 0.101 341.2)
XYZxyz(6.3564, 3.9798, 7.0886)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D224B #225D34
analogous
#52225D #5D224B #5D222E
triadic
#5D224B #4B5D22 #224B5D
tetradic
#5D224B #5D5222 #225D34 #222E5D
square
#5D224B #5D5222 #225D34 #222E5D
split-complementary
#5D224B #2E5D22 #225D52
monochromatic
#160812 #301227 #5D224B #8A326F #B74393

Accessibility & contrast

On white

11.69
#5D224B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5D224B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D224B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D224B#FFFFFF#000000##FFFFFF
##5D224B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26324C
Deuteranopia (green-blind)
#373C4A
Tritanopia (blue-blind)
#632333
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d224b;
/* rgb */ color: rgb(93, 34, 75);
/* oklch */ color: oklch(35.5% 0.101 341.2);
Tailwind
colors: {
  custom: {
    50: '#8d617d',
    500: '#5d224b',
    950: '#000000',
  },
}
SCSS
$custom: #5d224b;
$custom-light: #8d617d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d224b",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 75
  },
  "hsl": {
    "h": 318.305,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35464,
    "c": 0.10121,
    "h": 341.2
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#5D224B
secondary
#4A9160
accent
#D67A52
background
#F8F5F7
surface
#F0EAEE
border
#CBC6C9
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5D224B

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

Preview Lab → · Contrast checker → · Palette generator →

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