#D74F97#D74F97

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

Color values

HEX#D74F97
RGBrgb(215, 79, 151)
HSLhsl(328, 63%, 58%)
HSVhsv(328, 63%, 84%)
CMYKcmyk(0%, 63.3%, 29.8%, 15.7%)
CIE-LABlab(54.32, 60.02, -11.25)
CIE-LCHlch(54.32, 61.07, 349.38°)
OKLaboklab(63.05% 0.1826 -0.0292)
OKLCHoklch(63.05% 0.185 350.9)
XYZxyz(36.4079, 22.2772, 31.6547)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74F97 #4FD78F
analogous
#D34FD7 #D74F97 #D74F53
triadic
#D74F97 #97D74F #4F97D7
tetradic
#D74F97 #D7D34F #4FD78F #4F53D7
square
#D74F97 #D7D34F #4FD78F #4F53D7
split-complementary
#D74F97 #53D74F #4FD7D3
monochromatic
#8C2059 #BE2B79 #D74F97 #E281B4 #EEB3D2

Accessibility & contrast

On white

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

On black

5.45
#D74F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74F97
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74F97#FFFFFF#000000##000000
##D74F971.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#627399
Deuteranopia (green-blind)
#888B94
Tritanopia (blue-blind)
#E6486C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d74f97;
/* rgb */ color: rgb(215, 79, 151);
/* oklch */ color: oklch(63.1% 0.185 350.9);
Tailwind
colors: {
  custom: {
    50: '#e788b5',
    500: '#d74f97',
    950: '#000000',
  },
}
SCSS
$custom: #d74f97;
$custom-light: #e788b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d74f97",
  "rgb": {
    "r": 215,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 328.235,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63051,
    "c": 0.18489,
    "h": 350.9
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

primary
#D74F97
secondary
#A6DCBF
accent
#E68F42
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C11
muted
#857D80

Preview Lab

Preview with #D74F97

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

Preview Lab → · Contrast checker → · Palette generator →

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