#D74F98#D74F98

#D74F98 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.1% C 0.185 H 350.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#D74F98
RGBrgb(215, 79, 152)
HSLhsl(328, 63%, 58%)
HSVhsv(328, 63%, 84%)
CMYKcmyk(0%, 63.3%, 29.3%, 15.7%)
CIE-LABlab(54.35, 60.15, -11.79)
CIE-LCHlch(54.35, 61.29, 348.91°)
OKLaboklab(63.09% 0.1828 -0.0306)
OKLCHoklch(63.09% 0.185 350.5)
XYZxyz(36.4895, 22.3098, 32.0842)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74F98 #4FD78E
analogous
#D24FD7 #D74F98 #D74F54
triadic
#D74F98 #98D74F #4F98D7
tetradic
#D74F98 #D7D24F #4FD78E #4F54D7
square
#D74F98 #D7D24F #4FD78E #4F54D7
split-complementary
#D74F98 #54D74F #4FD7D2
monochromatic
#8C205A #BE2B7A #D74F98 #E281B5 #EEB3D2

Accessibility & contrast

On white

3.85
#D74F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#D74F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74F98
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74F98#FFFFFF#000000##000000
##D74F981.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#62739A
Deuteranopia (green-blind)
#888B95
Tritanopia (blue-blind)
#E6496D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d74f98;
/* rgb */ color: rgb(215, 79, 152);
/* oklch */ color: oklch(63.1% 0.185 350.5);
Tailwind
colors: {
  custom: {
    50: '#e788b6',
    500: '#d74f98',
    950: '#000000',
  },
}
SCSS
$custom: #d74f98;
$custom-light: #e788b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d74f98",
  "rgb": {
    "r": 215,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 327.794,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63087,
    "c": 0.18539,
    "h": 350.5
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#D74F98
secondary
#A6DCBF
accent
#E68E42
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D74F98

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

Preview Lab → · Contrast checker → · Palette generator →

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