#5D2242#5D2242

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

Color values

HEX#5D2242
RGBrgb(93, 34, 66)
HSLhsl(327, 46%, 25%)
HSVhsv(327, 63%, 36%)
CMYKcmyk(0%, 63.4%, 29%, 63.5%)
CIE-LABlab(23.22, 30.80, -6.67)
CIE-LCHlch(23.22, 31.51, 347.79°)
OKLaboklab(35.05% 0.0932 -0.0174)
OKLCHoklch(35.05% 0.095 349.4)
XYZxyz(6.0698, 3.8651, 5.5796)
Luminance0.0386 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2242 #225D3D
analogous
#5B225D #5D2242 #5D2224
triadic
#5D2242 #425D22 #22425D
tetradic
#5D2242 #5D5B22 #225D3D #22245D
square
#5D2242 #5D5B22 #225D3D #22245D
split-complementary
#5D2242 #245D22 #225D5B
monochromatic
#160810 #301222 #5D2242 #8A3262 #B74382

Accessibility & contrast

On white

11.84
#5D2242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D2242
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2242#FFFFFF#000000##FFFFFF
##5D22421.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293143
Deuteranopia (green-blind)
#393B41
Tritanopia (blue-blind)
#64202F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d2242;
/* rgb */ color: rgb(93, 34, 66);
/* oklch */ color: oklch(35.1% 0.095 349.4);
Tailwind
colors: {
  custom: {
    50: '#8d6176',
    500: '#5d2242',
    950: '#000000',
  },
}
SCSS
$custom: #5d2242;
$custom-light: #8d6176;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2242",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 327.458,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35054,
    "c": 0.09483,
    "h": 349.4
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#5D2242
secondary
#4A916A
accent
#D68E52
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #5D2242

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

Preview Lab → · Contrast checker → · Palette generator →

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