#D74EA8#D74EA8

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

Color values

HEX#D74EA8
RGBrgb(215, 78, 168)
HSLhsl(321, 63%, 57%)
HSVhsv(321, 64%, 84%)
CMYKcmyk(0%, 63.7%, 21.9%, 15.7%)
CIE-LABlab(54.79, 62.63, -20.51)
CIE-LCHlch(54.79, 65.90, 341.87°)
OKLaboklab(63.6% 0.188 -0.0546)
OKLCHoklch(63.6% 0.196 343.8)
XYZxyz(37.8178, 22.7266, 39.4332)
Luminance0.2272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74EA8 #4ED77D
analogous
#C24ED7 #D74EA8 #D74E63
triadic
#D74EA8 #A8D74E #4EA8D7
tetradic
#D74EA8 #D7C24E #4ED77D #4E63D7
square
#D74EA8 #D7C24E #4ED77D #4E63D7
split-complementary
#D74EA8 #63D74E #4ED7C2
monochromatic
#8B1F66 #BD2B8B #D74EA8 #E280C1 #EEB2D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D74EA8#FFFFFF#000000##000000
##D74EA81.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)
#5B75AB
Deuteranopia (green-blind)
#838BA5
Tritanopia (blue-blind)
#E44E74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d74ea8;
/* rgb */ color: rgb(215, 78, 168);
/* oklch */ color: oklch(63.6% 0.196 343.8);
Tailwind
colors: {
  custom: {
    50: '#e788c2',
    500: '#d74ea8',
    950: '#000000',
  },
}
SCSS
$custom: #d74ea8;
$custom-light: #e788c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d74ea8",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 320.584,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.636,
    "c": 0.1958,
    "h": 343.8
  },
  "luminance": 0.22723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D74EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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