#5D1242#5D1242

#5D1242 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.119 H 346.3°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5D1242
RGBrgb(93, 18, 66)
HSLhsl(322, 68%, 22%)
HSVhsv(322, 81%, 36%)
CMYKcmyk(0%, 80.6%, 29%, 63.5%)
CIE-LABlab(20.65, 37.90, -10.57)
CIE-LCHlch(20.65, 39.35, 344.42°)
OKLaboklab(33.17% 0.1152 -0.028)
OKLCHoklch(33.17% 0.119 346.3)
XYZxyz(5.7141, 3.1537, 5.4610)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1242 #125D2D
analogous
#53125D #5D1242 #5D121D
triadic
#5D1242 #425D12 #12425D
tetradic
#5D1242 #5D5312 #125D2D #121D5D
square
#5D1242 #5D5312 #125D2D #121D5D
split-complementary
#5D1242 #1D5D12 #125D53
monochromatic
#1A0512 #2A081E #5D1242 #901C66 #C4268B

Accessibility & contrast

On white

12.88
#5D1242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1242
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1242#FFFFFF#000000##FFFFFF
##5D12421.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A43
Deuteranopia (green-blind)
#333640
Tritanopia (blue-blind)
#641028
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1242;
/* rgb */ color: rgb(93, 18, 66);
/* oklch */ color: oklch(33.2% 0.119 346.3);
Tailwind
colors: {
  custom: {
    50: '#8e5976',
    500: '#5d1242',
    950: '#000000',
  },
}
SCSS
$custom: #5d1242;
$custom-light: #8e5976;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1242",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 66
  },
  "hsl": {
    "h": 321.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33165,
    "c": 0.11851,
    "h": 346.3
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#5D1242
secondary
#359558
accent
#EA7C3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1242

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

Preview Lab → · Contrast checker → · Palette generator →

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