#D548CB#D548CB

#D548CB is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.227 H 330.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#D548CB
RGBrgb(213, 72, 203)
HSLhsl(304, 63%, 56%)
HSVhsv(304, 66%, 84%)
CMYKcmyk(0%, 66.2%, 4.7%, 16.5%)
CIE-LABlab(55.17, 69.59, -40.17)
CIE-LCHlch(55.17, 80.36, 330.01°)
OKLaboklab(64.32% 0.198 -0.1105)
OKLCHoklch(64.32% 0.227 330.8)
XYZxyz(40.5373, 23.0957, 58.8112)
Luminance0.2309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D548CB #48D552
analogous
#9848D5 #D548CB #D54884
triadic
#D548CB #CBD548 #48CBD5
tetradic
#D548CB #D59848 #48D552 #4884D5
square
#D548CB #D59848 #48D552 #4884D5
split-complementary
#D548CB #84D548 #48D598
monochromatic
#841E7D #B62AAC #D548CB #E07AD9 #ECACE7

Accessibility & contrast

On white

3.74
#D548CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#D548CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D548CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D548CB#FFFFFF#000000##000000
##D548CB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78CF
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#DD5784
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d548cb;
/* rgb */ color: rgb(213, 72, 203);
/* oklch */ color: oklch(64.3% 0.227 330.8);
Tailwind
colors: {
  custom: {
    50: '#e586db',
    500: '#d548cb',
    950: '#000000',
  },
}
SCSS
$custom: #d548cb;
$custom-light: #e586db;
$custom-dark: #000000;
JSON
{
  "hex": "#d548cb",
  "rgb": {
    "r": 213,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 304.255,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64317,
    "c": 0.22671,
    "h": 330.8
  },
  "luminance": 0.23093
}

Semantic roles & 50–950 ramp

primary
#D548CB
secondary
#9FDAA3
accent
#E64E42
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D548CB

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

Preview Lab → · Contrast checker → · Palette generator →

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