#5D2140#5D2140

#5D2140 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.8% C 0.095 H 351.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#5D2140
RGBrgb(93, 33, 64)
HSLhsl(329, 48%, 25%)
HSVhsv(329, 65%, 36%)
CMYKcmyk(0%, 64.5%, 31.2%, 63.5%)
CIE-LABlab(22.95, 31.02, -5.71)
CIE-LCHlch(22.95, 31.54, 349.57°)
OKLaboklab(34.83% 0.0942 -0.0148)
OKLCHoklch(34.83% 0.095 351.1)
XYZxyz(5.9837, 3.7856, 5.2651)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2140 #215D3E
analogous
#5C215D #5D2140 #5D2122
triadic
#5D2140 #405D21 #21405D
tetradic
#5D2140 #5D5C21 #215D3E #21225D
square
#5D2140 #5D5C21 #215D3E #21225D
split-complementary
#5D2140 #225D21 #215D5C
monochromatic
#170810 #301121 #5D2140 #8A315F #B7417E

Accessibility & contrast

On white

11.95
#5D2140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5D2140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2140
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2140#FFFFFF#000000##FFFFFF
##5D21401.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293041
Deuteranopia (green-blind)
#393B3F
Tritanopia (blue-blind)
#641E2D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d2140;
/* rgb */ color: rgb(93, 33, 64);
/* oklch */ color: oklch(34.8% 0.095 351.1);
Tailwind
colors: {
  custom: {
    50: '#8d6074',
    500: '#5d2140',
    950: '#000000',
  },
}
SCSS
$custom: #5d2140;
$custom-light: #8d6074;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2140",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 329,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34827,
    "c": 0.0953,
    "h": 351.1
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#5D2140
secondary
#49916C
accent
#D79251
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0508
muted
#7D797B

Preview Lab

Preview with #5D2140

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

Preview Lab → · Contrast checker → · Palette generator →

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