#D45F8F#D45F8F

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

Color values

HEX#D45F8F
RGBrgb(212, 95, 143)
HSLhsl(335, 58%, 60%)
HSVhsv(335, 55%, 83%)
CMYKcmyk(0%, 55.2%, 32.5%, 16.9%)
CIE-LABlab(56.26, 51.00, -3.71)
CIE-LCHlch(56.26, 51.13, 355.83°)
OKLaboklab(64.31% 0.1551 -0.0091)
OKLCHoklch(64.31% 0.155 356.6)
XYZxyz(36.2032, 24.1682, 28.7396)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F8F #5FD4A4
analogous
#D45FC9 #D45F8F #D46A5F
triadic
#D45F8F #8FD45F #5F8FD4
tetradic
#D45F8F #C9D45F #5FD4A4 #6A5FD4
square
#D45F8F #C9D45F #5FD4A4 #6A5FD4
split-complementary
#D45F8F #5FD46A #5FC9D4
monochromatic
#912753 #C2346E #D45F8F #E18FB1 #EEBFD3

Accessibility & contrast

On white

3.60
#D45F8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#D45F8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F8F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F8F#FFFFFF#000000##000000
##D45F8F1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#717990
Deuteranopia (green-blind)
#908F8C
Tritanopia (blue-blind)
#E35771
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d45f8f;
/* rgb */ color: rgb(212, 95, 143);
/* oklch */ color: oklch(64.3% 0.155 356.6);
Tailwind
colors: {
  custom: {
    50: '#e591af',
    500: '#d45f8f',
    950: '#000000',
  },
}
SCSS
$custom: #d45f8f;
$custom-light: #e591af;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f8f",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 143
  },
  "hsl": {
    "h": 335.385,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.15536,
    "h": 356.6
  },
  "luminance": 0.24165
}

Semantic roles & 50–950 ramp

primary
#D45F8F
secondary
#B1DECB
accent
#C58220
background
#FEF9FA
surface
#FDF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #D45F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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