#D74A8E#D74A8E

#D74A8E is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.2% C 0.187 H 354.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#D74A8E
RGBrgb(215, 74, 142)
HSLhsl(331, 64%, 57%)
HSVhsv(331, 66%, 84%)
CMYKcmyk(0%, 65.6%, 34%, 15.7%)
CIE-LABlab(53.28, 60.99, -7.49)
CIE-LCHlch(53.28, 61.44, 353.00°)
OKLaboklab(62.18% 0.1863 -0.019)
OKLCHoklch(62.18% 0.187 354.2)
XYZxyz(35.3576, 21.3016, 27.8355)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74A8E #4AD793
analogous
#D74AD5 #D74A8E #D74D4A
triadic
#D74A8E #8ED74A #4A8ED7
tetradic
#D74A8E #D5D74A #4AD793 #4D4AD7
square
#D74A8E #D5D74A #4AD793 #4D4AD7
split-complementary
#D74A8E #4AD74D #4AD5D7
monochromatic
#881E51 #BB296F #D74A8E #E27CAD #EDAECD

Accessibility & contrast

On white

3.99
#D74A8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#D74A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74A8E
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74A8E#FFFFFF#000000##000000
##D74A8E1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F90
Deuteranopia (green-blind)
#88898B
Tritanopia (blue-blind)
#E73F66
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d74a8e;
/* rgb */ color: rgb(215, 74, 142);
/* oklch */ color: oklch(62.2% 0.187 354.2);
Tailwind
colors: {
  custom: {
    50: '#e885af',
    500: '#d74a8e',
    950: '#000000',
  },
}
SCSS
$custom: #d74a8e;
$custom-light: #e885af;
$custom-dark: #000000;
JSON
{
  "hex": "#d74a8e",
  "rgb": {
    "r": 215,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 331.064,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62183,
    "c": 0.18731,
    "h": 354.2
  },
  "luminance": 0.21298
}

Semantic roles & 50–950 ramp

primary
#D74A8E
secondary
#A2DBBF
accent
#E79741
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D74A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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