#D45FB3#D45FB3

#D45FB3 is a light, vivid pink. Relative luminance 0.254; OKLCH L 65.6% C 0.176 H 339.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#D45FB3
RGBrgb(212, 95, 179)
HSLhsl(317, 58%, 60%)
HSVhsv(317, 55%, 83%)
CMYKcmyk(0%, 55.2%, 15.6%, 16.9%)
CIE-LABlab(57.50, 55.94, -22.77)
CIE-LCHlch(57.50, 60.39, 337.85°)
OKLaboklab(65.65% 0.165 -0.0612)
OKLCHoklch(65.65% 0.176 339.7)
XYZxyz(39.3809, 25.4393, 45.4752)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FB3 #5FD480
analogous
#BA5FD4 #D45FB3 #D45F79
triadic
#D45FB3 #B3D45F #5FB3D4
tetradic
#D45FB3 #D4BA5F #5FD480 #5F79D4
square
#D45FB3 #D4BA5F #5FD480 #5F79D4
split-complementary
#D45FB3 #79D45F #5FD4BA
monochromatic
#912773 #C2349A #D45FB3 #E18FCA #EEBFE1

Accessibility & contrast

On white

3.45
#D45FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#D45FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FB3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FB3#FFFFFF#000000##000000
##D45FB31.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB6
Deuteranopia (green-blind)
#8691B0
Tritanopia (blue-blind)
#DF6281
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d45fb3;
/* rgb */ color: rgb(212, 95, 179);
/* oklch */ color: oklch(65.6% 0.176 339.7);
Tailwind
colors: {
  custom: {
    50: '#e491ca',
    500: '#d45fb3',
    950: '#000000',
  },
}
SCSS
$custom: #d45fb3;
$custom-light: #e491ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fb3",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 316.923,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.17601,
    "h": 339.7
  },
  "luminance": 0.25436
}

Semantic roles & 50–950 ramp

primary
#D45FB3
secondary
#B1DEBE
accent
#C54F20
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D45FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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