#D45F9E#D45F9E

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

Color values

HEX#D45F9E
RGBrgb(212, 95, 158)
HSLhsl(328, 58%, 60%)
HSVhsv(328, 55%, 83%)
CMYKcmyk(0%, 55.2%, 25.5%, 16.9%)
CIE-LABlab(56.74, 52.93, -11.76)
CIE-LCHlch(56.74, 54.22, 347.47°)
OKLaboklab(64.83% 0.1597 -0.0307)
OKLCHoklch(64.83% 0.163 349.1)
XYZxyz(37.4164, 24.6535, 35.1291)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F9E #5FD495
analogous
#CF5FD4 #D45F9E #D45F64
triadic
#D45F9E #9ED45F #5F9ED4
tetradic
#D45F9E #D4CF5F #5FD495 #5F64D4
square
#D45F9E #D4CF5F #5FD495 #5F64D4
split-complementary
#D45F9E #64D45F #5FD4CF
monochromatic
#912760 #C23480 #D45F9E #E18FBB #EEBFD8

Accessibility & contrast

On white

3.54
#D45F9E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#D45F9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F9E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F9E#FFFFFF#000000##000000
##D45F9E1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7BA0
Deuteranopia (green-blind)
#8C909B
Tritanopia (blue-blind)
#E15B77
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d45f9e;
/* rgb */ color: rgb(212, 95, 158);
/* oklch */ color: oklch(64.8% 0.163 349.1);
Tailwind
colors: {
  custom: {
    50: '#e491ba',
    500: '#d45f9e',
    950: '#000000',
  },
}
SCSS
$custom: #d45f9e;
$custom-light: #e491ba;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f9e",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 158
  },
  "hsl": {
    "h": 327.692,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64831,
    "c": 0.16264,
    "h": 349.1
  },
  "luminance": 0.2465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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