#D545C1#D545C1

#D545C1 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.5% C 0.223 H 334.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D545C1
RGBrgb(213, 69, 193)
HSLhsl(308, 63%, 55%)
HSVhsv(308, 68%, 84%)
CMYKcmyk(0%, 67.6%, 9.4%, 16.5%)
CIE-LABlab(54.30, 69.16, -35.80)
CIE-LCHlch(54.30, 77.87, 332.63°)
OKLaboklab(63.53% 0.2004 -0.0979)
OKLCHoklch(63.53% 0.223 334)
XYZxyz(39.1946, 22.2559, 52.6733)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D545C1 #45D559
analogous
#A145D5 #D545C1 #D54579
triadic
#D545C1 #C1D545 #45C1D5
tetradic
#D545C1 #D5A145 #45D559 #4579D5
square
#D545C1 #D5A145 #45D559 #4579D5
split-complementary
#D545C1 #79D545 #45D5A1
monochromatic
#821D74 #B429A1 #D545C1 #E077D2 #ECA9E2

Accessibility & contrast

On white

3.85
#D545C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D545C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D545C1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D545C1#FFFFFF#000000##000000
##D545C11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4274C5
Deuteranopia (green-blind)
#7489BD
Tritanopia (blue-blind)
#DF517D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d545c1;
/* rgb */ color: rgb(213, 69, 193);
/* oklch */ color: oklch(63.5% 0.223 334.0);
Tailwind
colors: {
  custom: {
    50: '#e684d4',
    500: '#d545c1',
    950: '#000000',
  },
}
SCSS
$custom: #d545c1;
$custom-light: #e684d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d545c1",
  "rgb": {
    "r": 213,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 308.333,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63529,
    "c": 0.22299,
    "h": 334
  },
  "luminance": 0.22253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D545C1

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

Preview Lab → · Contrast checker → · Palette generator →

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