#D45F97#D45F97

#D45F97 is a light, vivid pink. Relative luminance 0.244; OKLCH L 64.6% C 0.159 H 352.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#D45F97
RGBrgb(212, 95, 151)
HSLhsl(331, 58%, 60%)
HSVhsv(331, 55%, 83%)
CMYKcmyk(0%, 55.2%, 28.8%, 16.9%)
CIE-LABlab(56.51, 52.00, -8.03)
CIE-LCHlch(56.51, 52.62, 351.23°)
OKLaboklab(64.58% 0.1576 -0.0206)
OKLCHoklch(64.58% 0.159 352.6)
XYZxyz(36.8310, 24.4193, 32.0458)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F97 #5FD49C
analogous
#D45FD1 #D45F97 #D4625F
triadic
#D45F97 #97D45F #5F97D4
tetradic
#D45F97 #D1D45F #5FD49C #625FD4
square
#D45F97 #D1D45F #5FD49C #625FD4
split-complementary
#D45F97 #5FD462 #5FD1D4
monochromatic
#91275A #C23478 #D45F97 #E18FB6 #EEBFD6

Accessibility & contrast

On white

3.57
#D45F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#D45F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F97
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F97#FFFFFF#000000##000000
##D45F971.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7A99
Deuteranopia (green-blind)
#8E8F94
Tritanopia (blue-blind)
#E25975
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #d45f97;
/* rgb */ color: rgb(212, 95, 151);
/* oklch */ color: oklch(64.6% 0.159 352.6);
Tailwind
colors: {
  custom: {
    50: '#e491b5',
    500: '#d45f97',
    950: '#000000',
  },
}
SCSS
$custom: #d45f97;
$custom-light: #e491b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f97",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 331.282,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64582,
    "c": 0.15897,
    "h": 352.6
  },
  "luminance": 0.24416
}

Semantic roles & 50–950 ramp

primary
#D45F97
secondary
#B1DEC8
accent
#C57620
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #D45F97

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

Preview Lab → · Contrast checker → · Palette generator →

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