#D45F98#D45F98

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

Color values

HEX#D45F98
RGBrgb(212, 95, 152)
HSLhsl(331, 58%, 60%)
HSVhsv(331, 55%, 83%)
CMYKcmyk(0%, 55.2%, 28.3%, 16.9%)
CIE-LABlab(56.54, 52.13, -8.56)
CIE-LCHlch(56.54, 52.83, 350.67°)
OKLaboklab(64.62% 0.1579 -0.0221)
OKLCHoklch(64.62% 0.159 352)
XYZxyz(36.9126, 24.4519, 32.4753)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45F98 #5FD49B
analogous
#D45FD2 #D45F98 #D4605F
triadic
#D45F98 #98D45F #5F98D4
tetradic
#D45F98 #D2D45F #5FD49B #605FD4
square
#D45F98 #D2D45F #5FD49B #605FD4
split-complementary
#D45F98 #5FD460 #5FD2D4
monochromatic
#91275B #C23479 #D45F98 #E18FB7 #EEBFD6

Accessibility & contrast

On white

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

On black

5.89
#D45F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45F98
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45F98#FFFFFF#000000##000000
##D45F981.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7B9A
Deuteranopia (green-blind)
#8E8F95
Tritanopia (blue-blind)
#E25A75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d45f98;
/* rgb */ color: rgb(212, 95, 152);
/* oklch */ color: oklch(64.6% 0.159 352.0);
Tailwind
colors: {
  custom: {
    50: '#e491b6',
    500: '#d45f98',
    950: '#000000',
  },
}
SCSS
$custom: #d45f98;
$custom-light: #e491b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d45f98",
  "rgb": {
    "r": 212,
    "g": 95,
    "b": 152
  },
  "hsl": {
    "h": 330.769,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64617,
    "c": 0.15947,
    "h": 352
  },
  "luminance": 0.24448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D45F98

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

Preview Lab → · Contrast checker → · Palette generator →

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