#D45FA1#D45FA1

#D45FA1 is a light, vivid pink. Relative luminance 0.248; OKLCH L 64.9% C 0.164 H 347.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#D45FA1
RGBrgb(212, 95, 161)
HSLhsl(326, 58%, 60%)
HSVhsv(326, 55%, 83%)
CMYKcmyk(0%, 55.2%, 24.1%, 16.9%)
CIE-LABlab(56.84, 53.34, -13.36)
CIE-LCHlch(56.84, 54.98, 345.94°)
OKLaboklab(64.94% 0.1606 -0.0351)
OKLCHoklch(64.94% 0.164 347.7)
XYZxyz(37.6778, 24.7580, 36.5057)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45FA1 #5FD492
analogous
#CC5FD4 #D45FA1 #D45F66
triadic
#D45FA1 #A1D45F #5FA1D4
tetradic
#D45FA1 #D4CC5F #5FD492 #5F66D4
square
#D45FA1 #D4CC5F #5FD492 #5F66D4
split-complementary
#D45FA1 #66D45F #5FD4CC
monochromatic
#912763 #C23484 #D45FA1 #E18FBD #EEBFDA

Accessibility & contrast

On white

3.53
#D45FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#D45FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45FA1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45FA1#FFFFFF#000000##000000
##D45FA11.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA3
Deuteranopia (green-blind)
#8B909E
Tritanopia (blue-blind)
#E15C79
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d45fa1;
/* rgb */ color: rgb(212, 95, 161);
/* oklch */ color: oklch(64.9% 0.164 347.7);
Tailwind
colors: {
  custom: {
    50: '#e491bc',
    500: '#d45fa1',
    950: '#000000',
  },
}
SCSS
$custom: #d45fa1;
$custom-light: #e491bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d45fa1",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 326.154,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64941,
    "c": 0.16434,
    "h": 347.7
  },
  "luminance": 0.24755
}

Semantic roles & 50–950 ramp

primary
#D45FA1
secondary
#B1DEC5
accent
#C56820
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #D45FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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