#D45F7D#D45F7D

#D45F7D is a light, vivid pink. Relative luminance 0.237; OKLCH L 63.8% C 0.150 H 6.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#D45F7D
RGBrgb(212, 95, 125)
HSLhsl(345, 58%, 60%)
HSVhsv(345, 55%, 83%)
CMYKcmyk(0%, 55.2%, 41%, 16.9%)
CIE-LABlab(55.75, 48.93, 6.13)
CIE-LCHlch(55.75, 49.31, 7.14°)
OKLaboklab(63.77% 0.1488 0.0163)
OKLCHoklch(63.77% 0.15 6.3)
XYZxyz(34.9474, 23.6659, 22.1256)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F7D #5FD4B6
analogous
#D45FB8 #D45F7D #D47B5F
triadic
#D45F7D #7DD45F #5F7DD4
tetradic
#D45F7D #B8D45F #5FD4B6 #7B5FD4
square
#D45F7D #B8D45F #5FD4B6 #7B5FD4
split-complementary
#D45F7D #5FD47B #5FB8D4
monochromatic
#912742 #C23458 #D45F7D #E18FA4 #EEBFCB

Accessibility & contrast

On white

3.66
#D45F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#D45F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F7D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F7D#FFFFFF#000000##000000
##D45F7D1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75777E
Deuteranopia (green-blind)
#938E7A
Tritanopia (blue-blind)
#E5526A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d45f7d;
/* rgb */ color: rgb(212, 95, 125);
/* oklch */ color: oklch(63.8% 0.150 6.3);
Tailwind
colors: {
  custom: {
    50: '#e590a2',
    500: '#d45f7d',
    950: '#000000',
  },
}
SCSS
$custom: #d45f7d;
$custom-light: #e590a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f7d",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 344.615,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63771,
    "c": 0.14971,
    "h": 6.3
  },
  "luminance": 0.23662
}

Semantic roles & 50–950 ramp

primary
#D45F7D
secondary
#B1DED2
accent
#C59B20
background
#FEF9F9
surface
#FDF1F2
border
#D5CBCC
text
#160D0F
muted
#847E7E

Preview Lab

Preview with #D45F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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