#D545C2#D545C2

#D545C2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.6% C 0.224 H 333.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D545C2
RGBrgb(213, 69, 194)
HSLhsl(308, 63%, 55%)
HSVhsv(308, 68%, 84%)
CMYKcmyk(0%, 67.6%, 8.9%, 16.5%)
CIE-LABlab(54.34, 69.31, -36.30)
CIE-LCHlch(54.34, 78.24, 332.35°)
OKLaboklab(63.58% 0.2005 -0.0993)
OKLCHoklch(63.58% 0.224 333.6)
XYZxyz(39.3065, 22.3006, 53.2627)
Luminance0.2230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D545C2 #45D558
analogous
#A045D5 #D545C2 #D5457A
triadic
#D545C2 #C2D545 #45C2D5
tetradic
#D545C2 #D5A045 #45D558 #457AD5
square
#D545C2 #D5A045 #45D558 #457AD5
split-complementary
#D545C2 #7AD545 #45D5A0
monochromatic
#821D75 #B429A2 #D545C2 #E077D2 #ECA9E3

Accessibility & contrast

On white

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

On black

5.46
#D545C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D545C2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D545C2#FFFFFF#000000##000000
##D545C21.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#7389BE
Tritanopia (blue-blind)
#DF517E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d545c2;
/* rgb */ color: rgb(213, 69, 194);
/* oklch */ color: oklch(63.6% 0.224 333.6);
Tailwind
colors: {
  custom: {
    50: '#e684d5',
    500: '#d545c2',
    950: '#000000',
  },
}
SCSS
$custom: #d545c2;
$custom-light: #e684d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d545c2",
  "rgb": {
    "r": 213,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 307.917,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63578,
    "c": 0.22371,
    "h": 333.6
  },
  "luminance": 0.22297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D545C2

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

Preview Lab → · Contrast checker → · Palette generator →

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