#D45F8A#D45F8A

#D45F8A is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.2% C 0.153 H 359.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D45F8A
RGBrgb(212, 95, 138)
HSLhsl(338, 58%, 60%)
HSVhsv(338, 55%, 83%)
CMYKcmyk(0%, 55.2%, 34.9%, 16.9%)
CIE-LABlab(56.11, 50.39, -1.00)
CIE-LCHlch(56.11, 50.40, 358.86°)
OKLaboklab(64.16% 0.1534 -0.002)
OKLCHoklch(64.16% 0.153 359.3)
XYZxyz(35.8329, 24.0201, 26.7891)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F8A #5FD4A9
analogous
#D45FC4 #D45F8A #D46F5F
triadic
#D45F8A #8AD45F #5F8AD4
tetradic
#D45F8A #C4D45F #5FD4A9 #6F5FD4
square
#D45F8A #C4D45F #5FD4A9 #6F5FD4
split-complementary
#D45F8A #5FD46F #5FC4D4
monochromatic
#91274E #C23468 #D45F8A #E18FAD #EEBFD1

Accessibility & contrast

On white

3.62
#D45F8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D45F8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F8A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F8A#FFFFFF#000000##000000
##D45F8A1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#918F87
Tritanopia (blue-blind)
#E4566F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d45f8a;
/* rgb */ color: rgb(212, 95, 138);
/* oklch */ color: oklch(64.2% 0.153 359.3);
Tailwind
colors: {
  custom: {
    50: '#e591ac',
    500: '#d45f8a',
    950: '#000000',
  },
}
SCSS
$custom: #d45f8a;
$custom-light: #e591ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f8a",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 337.949,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64155,
    "c": 0.15343,
    "h": 359.3
  },
  "luminance": 0.24016
}

Semantic roles & 50–950 ramp

primary
#D45F8A
secondary
#B1DECD
accent
#C58920
background
#FEF9FA
surface
#FDF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #D45F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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