#D45FB1#D45FB1

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

Color values

HEX#D45FB1
RGBrgb(212, 95, 177)
HSLhsl(318, 58%, 60%)
HSVhsv(318, 55%, 83%)
CMYKcmyk(0%, 55.2%, 16.5%, 16.9%)
CIE-LABlab(57.42, 55.64, -21.74)
CIE-LCHlch(57.42, 59.73, 338.66°)
OKLaboklab(65.57% 0.1646 -0.0583)
OKLCHoklch(65.57% 0.175 340.5)
XYZxyz(39.1801, 25.3589, 44.4177)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FB1 #5FD482
analogous
#BD5FD4 #D45FB1 #D45F76
triadic
#D45FB1 #B1D45F #5FB1D4
tetradic
#D45FB1 #D4BD5F #5FD482 #5F76D4
square
#D45FB1 #D4BD5F #5FD482 #5F76D4
split-complementary
#D45FB1 #76D45F #5FD4BD
monochromatic
#912772 #C23497 #D45FB1 #E18FC9 #EEBFE0

Accessibility & contrast

On white

3.46
#D45FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#D45FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FB1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FB1#FFFFFF#000000##000000
##D45FB11.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#8691AE
Tritanopia (blue-blind)
#DF6180
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d45fb1;
/* rgb */ color: rgb(212, 95, 177);
/* oklch */ color: oklch(65.6% 0.175 340.5);
Tailwind
colors: {
  custom: {
    50: '#e491c8',
    500: '#d45fb1',
    950: '#000000',
  },
}
SCSS
$custom: #d45fb1;
$custom-light: #e491c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fb1",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 177
  },
  "hsl": {
    "h": 317.949,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65567,
    "c": 0.1746,
    "h": 340.5
  },
  "luminance": 0.25356
}

Semantic roles & 50–950 ramp

primary
#D45FB1
secondary
#B1DEBE
accent
#C55220
background
#FEF9FC
surface
#FDF1F8
border
#D5CBD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D45FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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