#5D1241#5D1241

#5D1241 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.1% C 0.118 H 347.1°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5D1241
RGBrgb(93, 18, 65)
HSLhsl(322, 68%, 22%)
HSVhsv(322, 81%, 36%)
CMYKcmyk(0%, 80.6%, 30.1%, 63.5%)
CIE-LABlab(20.60, 37.76, -9.95)
CIE-LCHlch(20.60, 39.05, 345.24°)
OKLaboklab(33.12% 0.1149 -0.0263)
OKLCHoklch(33.12% 0.118 347.1)
XYZxyz(5.6849, 3.1421, 5.3071)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1241 #125D2E
analogous
#54125D #5D1241 #5D121C
triadic
#5D1241 #415D12 #12415D
tetradic
#5D1241 #5D5412 #125D2E #121C5D
square
#5D1241 #5D5412 #125D2E #121C5D
split-complementary
#5D1241 #1C5D12 #125D54
monochromatic
#1A0512 #2A081D #5D1241 #901C65 #C42689

Accessibility & contrast

On white

12.90
#5D1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5D1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1241
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1241#FFFFFF#000000##FFFFFF
##5D12411.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2942
Deuteranopia (green-blind)
#33363F
Tritanopia (blue-blind)
#640F28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1241;
/* rgb */ color: rgb(93, 18, 65);
/* oklch */ color: oklch(33.1% 0.118 347.1);
Tailwind
colors: {
  custom: {
    50: '#8e5975',
    500: '#5d1241',
    950: '#000000',
  },
}
SCSS
$custom: #5d1241;
$custom-light: #8e5975;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1241",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 322.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33117,
    "c": 0.11788,
    "h": 347.1
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#5D1241
secondary
#359559
accent
#EA7E3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1241

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

Preview Lab → · Contrast checker → · Palette generator →

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