#5D1248#5D1248

#5D1248 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.123 H 341.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#5D1248
RGBrgb(93, 18, 72)
HSLhsl(317, 68%, 22%)
HSVhsv(317, 81%, 36%)
CMYKcmyk(0%, 80.6%, 22.6%, 63.5%)
CIE-LABlab(20.94, 38.77, -14.25)
CIE-LCHlch(20.94, 41.31, 339.82°)
OKLaboklab(33.47% 0.1164 -0.0383)
OKLCHoklch(33.47% 0.123 341.8)
XYZxyz(5.9004, 3.2283, 6.4420)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1248 #125D27
analogous
#4D125D #5D1248 #5D1223
triadic
#5D1248 #485D12 #12485D
tetradic
#5D1248 #5D4D12 #125D27 #12235D
square
#5D1248 #5D4D12 #125D27 #12235D
split-complementary
#5D1248 #235D12 #125D4D
monochromatic
#1A0514 #2A0820 #5D1248 #901C70 #C42697

Accessibility & contrast

On white

12.76
#5D1248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D1248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1248
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1248#FFFFFF#000000##FFFFFF
##5D12481.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192B49
Deuteranopia (green-blind)
#313746
Tritanopia (blue-blind)
#63132B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1248;
/* rgb */ color: rgb(93, 18, 72);
/* oklch */ color: oklch(33.5% 0.123 341.8);
Tailwind
colors: {
  custom: {
    50: '#8e597b',
    500: '#5d1248',
    950: '#000000',
  },
}
SCSS
$custom: #5d1248;
$custom-light: #8e597b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1248",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 316.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33467,
    "c": 0.12254,
    "h": 341.8
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#5D1248
secondary
#359550
accent
#EA6E3D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1248

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

Preview Lab → · Contrast checker → · Palette generator →

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