#D45FAF#D45FAF

#D45FAF is a light, vivid pink. Relative luminance 0.253; OKLCH L 65.5% C 0.173 H 341.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#D45FAF
RGBrgb(212, 95, 175)
HSLhsl(319, 58%, 60%)
HSVhsv(319, 55%, 83%)
CMYKcmyk(0%, 55.2%, 17.5%, 16.9%)
CIE-LABlab(57.35, 55.34, -20.70)
CIE-LCHlch(57.35, 59.08, 339.49°)
OKLaboklab(65.49% 0.1641 -0.0554)
OKLCHoklch(65.49% 0.173 341.4)
XYZxyz(38.9822, 25.2798, 43.3755)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FAF #5FD484
analogous
#BE5FD4 #D45FAF #D45F75
triadic
#D45FAF #AFD45F #5FAFD4
tetradic
#D45FAF #D4BE5F #5FD484 #5F75D4
square
#D45FAF #D4BE5F #5FD484 #5F75D4
split-complementary
#D45FAF #75D45F #5FD4BE
monochromatic
#912770 #C23495 #D45FAF #E18FC7 #EEBFDF

Accessibility & contrast

On white

3.47
#D45FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#D45FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FAF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FAF#FFFFFF#000000##000000
##D45FAF1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#667EB2
Deuteranopia (green-blind)
#8791AC
Tritanopia (blue-blind)
#DF607F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d45faf;
/* rgb */ color: rgb(212, 95, 175);
/* oklch */ color: oklch(65.5% 0.173 341.4);
Tailwind
colors: {
  custom: {
    50: '#e491c7',
    500: '#d45faf',
    950: '#000000',
  },
}
SCSS
$custom: #d45faf;
$custom-light: #e491c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d45faf",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 318.974,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65485,
    "c": 0.17322,
    "h": 341.4
  },
  "luminance": 0.25277
}

Semantic roles & 50–950 ramp

primary
#D45FAF
secondary
#B1DEBF
accent
#C55420
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D45FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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