#D45F8D#D45F8D

#D45F8D is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.3% C 0.155 H 357.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#D45F8D
RGBrgb(212, 95, 141)
HSLhsl(336, 58%, 60%)
HSVhsv(336, 55%, 83%)
CMYKcmyk(0%, 55.2%, 33.5%, 16.9%)
CIE-LABlab(56.20, 50.75, -2.63)
CIE-LCHlch(56.20, 50.82, 357.03°)
OKLaboklab(64.25% 0.1544 -0.0062)
OKLCHoklch(64.25% 0.155 357.7)
XYZxyz(36.0531, 24.1081, 27.9488)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F8D #5FD4A6
analogous
#D45FC8 #D45F8D #D46B5F
triadic
#D45F8D #8DD45F #5F8DD4
tetradic
#D45F8D #C8D45F #5FD4A6 #6B5FD4
square
#D45F8D #C8D45F #5FD4A6 #6B5FD4
split-complementary
#D45F8D #5FD46B #5FC8D4
monochromatic
#912751 #C2346C #D45F8D #E18FAF #EEBFD2

Accessibility & contrast

On white

3.61
#D45F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#D45F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F8D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F8D#FFFFFF#000000##000000
##D45F8D1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71798E
Deuteranopia (green-blind)
#908F8A
Tritanopia (blue-blind)
#E35770
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d45f8d;
/* rgb */ color: rgb(212, 95, 141);
/* oklch */ color: oklch(64.3% 0.155 357.7);
Tailwind
colors: {
  custom: {
    50: '#e591ae',
    500: '#d45f8d',
    950: '#000000',
  },
}
SCSS
$custom: #d45f8d;
$custom-light: #e591ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f8d",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 141
  },
  "hsl": {
    "h": 336.41,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.6425,
    "c": 0.15456,
    "h": 357.7
  },
  "luminance": 0.24105
}

Semantic roles & 50–950 ramp

primary
#D45F8D
secondary
#B1DECC
accent
#C58420
background
#FEF9FA
surface
#FDF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #D45F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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