#5D2148#5D2148

#5D2148 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.2% C 0.101 H 343.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#5D2148
RGBrgb(93, 33, 72)
HSLhsl(321, 48%, 25%)
HSVhsv(321, 65%, 36%)
CMYKcmyk(0%, 64.5%, 22.6%, 63.5%)
CIE-LABlab(23.28, 32.26, -10.64)
CIE-LCHlch(23.28, 33.97, 341.74°)
OKLaboklab(35.18% 0.0966 -0.0283)
OKLCHoklch(35.18% 0.101 343.6)
XYZxyz(6.2279, 3.8833, 6.5512)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2148 #215D36
analogous
#54215D #5D2148 #5D212A
triadic
#5D2148 #485D21 #21485D
tetradic
#5D2148 #5D5421 #215D36 #212A5D
square
#5D2148 #5D5421 #215D36 #212A5D
split-complementary
#5D2148 #2A5D21 #215D54
monochromatic
#170811 #301125 #5D2148 #8A316B #B7418E

Accessibility & contrast

On white

11.82
#5D2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D2148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2148
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2148#FFFFFF#000000##FFFFFF
##5D21481.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263149
Deuteranopia (green-blind)
#373B47
Tritanopia (blue-blind)
#632131
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d2148;
/* rgb */ color: rgb(93, 33, 72);
/* oklch */ color: oklch(35.2% 0.101 343.6);
Tailwind
colors: {
  custom: {
    50: '#8d607b',
    500: '#5d2148',
    950: '#000000',
  },
}
SCSS
$custom: #5d2148;
$custom-light: #8d607b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2148",
  "rgb": {
    "r": 93,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 321,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35182,
    "c": 0.10064,
    "h": 343.6
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#5D2148
secondary
#499162
accent
#D78051
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0C0509
muted
#7D797B

Preview Lab

Preview with #5D2148

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

Preview Lab → · Contrast checker → · Palette generator →

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