#D45FAC#D45FAC

#D45FAC is a light, vivid pink. Relative luminance 0.252; OKLCH L 65.4% C 0.171 H 342.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#D45FAC
RGBrgb(212, 95, 172)
HSLhsl(321, 58%, 60%)
HSVhsv(321, 55%, 83%)
CMYKcmyk(0%, 55.2%, 18.9%, 16.9%)
CIE-LABlab(57.23, 54.90, -19.14)
CIE-LCHlch(57.23, 58.14, 340.78°)
OKLaboklab(65.36% 0.1634 -0.051)
OKLCHoklch(65.36% 0.171 342.7)
XYZxyz(38.6908, 25.1632, 41.8410)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FAC #5FD487
analogous
#C15FD4 #D45FAC #D45F71
triadic
#D45FAC #ACD45F #5FACD4
tetradic
#D45FAC #D4C15F #5FD487 #5F71D4
square
#D45FAC #D4C15F #5FD487 #5F71D4
split-complementary
#D45FAC #71D45F #5FD4C1
monochromatic
#91276D #C23491 #D45FAC #E18FC5 #EEBFDE

Accessibility & contrast

On white

3.48
#D45FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#D45FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FAC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FAC#FFFFFF#000000##000000
##D45FAC1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#8890A9
Tritanopia (blue-blind)
#E0607E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #d45fac;
/* rgb */ color: rgb(212, 95, 172);
/* oklch */ color: oklch(65.4% 0.171 342.7);
Tailwind
colors: {
  custom: {
    50: '#e491c4',
    500: '#d45fac',
    950: '#000000',
  },
}
SCSS
$custom: #d45fac;
$custom-light: #e491c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fac",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 320.513,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65364,
    "c": 0.1712,
    "h": 342.7
  },
  "luminance": 0.2516
}

Semantic roles & 50–950 ramp

primary
#D45FAC
secondary
#B1DEC0
accent
#C55920
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #D45FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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