#D45F9D#D45F9D

#D45F9D is a light, vivid pink. Relative luminance 0.246; OKLCH L 64.8% C 0.162 H 349.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D45F9D
RGBrgb(212, 95, 157)
HSLhsl(328, 58%, 60%)
HSVhsv(328, 55%, 83%)
CMYKcmyk(0%, 55.2%, 25.9%, 16.9%)
CIE-LABlab(56.70, 52.79, -11.23)
CIE-LCHlch(56.70, 53.98, 347.99°)
OKLaboklab(64.79% 0.1594 -0.0293)
OKLCHoklch(64.79% 0.162 349.6)
XYZxyz(37.3307, 24.6192, 34.6777)
Luminance0.2462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F9D #5FD496
analogous
#D05FD4 #D45F9D #D45F63
triadic
#D45F9D #9DD45F #5F9DD4
tetradic
#D45F9D #D4D05F #5FD496 #5F63D4
square
#D45F9D #D4D05F #5FD496 #5F63D4
split-complementary
#D45F9D #63D45F #5FD4D0
monochromatic
#91275F #C2347F #D45F9D #E18FBB #EEBFD8

Accessibility & contrast

On white

3.55
#D45F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D45F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F9D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F9D#FFFFFF#000000##000000
##D45F9D1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7B9F
Deuteranopia (green-blind)
#8C909A
Tritanopia (blue-blind)
#E25B77
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d45f9d;
/* rgb */ color: rgb(212, 95, 157);
/* oklch */ color: oklch(64.8% 0.162 349.6);
Tailwind
colors: {
  custom: {
    50: '#e491ba',
    500: '#d45f9d',
    950: '#000000',
  },
}
SCSS
$custom: #d45f9d;
$custom-light: #e491ba;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f9d",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 328.205,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.16209,
    "h": 349.6
  },
  "luminance": 0.24616
}

Semantic roles & 50–950 ramp

primary
#D45F9D
secondary
#B1DEC6
accent
#C56E20
background
#FEF9FB
surface
#FDF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #D45F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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