#D74EA7#D74EA7

#D74EA7 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.6% C 0.195 H 344.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D74EA7
RGBrgb(215, 78, 167)
HSLhsl(321, 63%, 57%)
HSVhsv(321, 64%, 84%)
CMYKcmyk(0%, 63.7%, 22.3%, 15.7%)
CIE-LABlab(54.75, 62.49, -19.98)
CIE-LCHlch(54.75, 65.61, 342.27°)
OKLaboklab(63.56% 0.1878 -0.0532)
OKLCHoklch(63.56% 0.195 344.2)
XYZxyz(37.7250, 22.6895, 38.9444)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74EA7 #4ED77E
analogous
#C34ED7 #D74EA7 #D74E62
triadic
#D74EA7 #A7D74E #4EA7D7
tetradic
#D74EA7 #D7C34E #4ED77E #4E62D7
square
#D74EA7 #D7C34E #4ED77E #4E62D7
split-complementary
#D74EA7 #62D74E #4ED7C3
monochromatic
#8B1F65 #BD2B8A #D74EA7 #E280C0 #EEB2D9

Accessibility & contrast

On white

3.79
#D74EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D74EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74EA7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74EA7#FFFFFF#000000##000000
##D74EA71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74AA
Deuteranopia (green-blind)
#838BA4
Tritanopia (blue-blind)
#E44D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d74ea7;
/* rgb */ color: rgb(215, 78, 167);
/* oklch */ color: oklch(63.6% 0.195 344.2);
Tailwind
colors: {
  custom: {
    50: '#e788c1',
    500: '#d74ea7',
    950: '#000000',
  },
}
SCSS
$custom: #d74ea7;
$custom-light: #e788c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ea7",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 321.022,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.63559,
    "c": 0.1952,
    "h": 344.2
  },
  "luminance": 0.22686
}

Semantic roles & 50–950 ramp

primary
#D74EA7
secondary
#A5DCB8
accent
#E67B42
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D74EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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