#D548C2#D548C2

#D548C2 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.9% C 0.220 H 333.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D548C2
RGBrgb(213, 72, 194)
HSLhsl(308, 63%, 56%)
HSVhsv(308, 66%, 84%)
CMYKcmyk(0%, 66.2%, 8.9%, 16.5%)
CIE-LABlab(54.74, 68.20, -35.68)
CIE-LCHlch(54.74, 76.97, 332.38°)
OKLaboklab(63.87% 0.1972 -0.0976)
OKLCHoklch(63.87% 0.22 333.7)
XYZxyz(39.4958, 22.6791, 53.3258)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D548C2 #48D55B
analogous
#A148D5 #D548C2 #D5487B
triadic
#D548C2 #C2D548 #48C2D5
tetradic
#D548C2 #D5A148 #48D55B #487BD5
square
#D548C2 #D5A148 #48D55B #487BD5
split-complementary
#D548C2 #7BD548 #48D5A1
monochromatic
#841E77 #B62AA3 #D548C2 #E07AD3 #ECACE3

Accessibility & contrast

On white

3.79
#D548C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D548C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D548C2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D548C2#FFFFFF#000000##000000
##D548C21.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4576C6
Deuteranopia (green-blind)
#758ABE
Tritanopia (blue-blind)
#DE547F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d548c2;
/* rgb */ color: rgb(213, 72, 194);
/* oklch */ color: oklch(63.9% 0.220 333.7);
Tailwind
colors: {
  custom: {
    50: '#e585d5',
    500: '#d548c2',
    950: '#000000',
  },
}
SCSS
$custom: #d548c2;
$custom-light: #e585d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d548c2",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 308.085,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63865,
    "c": 0.22002,
    "h": 333.7
  },
  "luminance": 0.22676
}

Semantic roles & 50–950 ramp

primary
#D548C2
secondary
#9FDAA7
accent
#E65842
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D548C2

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

Preview Lab → · Contrast checker → · Palette generator →

#D548C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva