#D74D8E#D74D8E

#D74D8E is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.183 H 354.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#D74D8E
RGBrgb(215, 77, 142)
HSLhsl(332, 63%, 57%)
HSVhsv(332, 64%, 84%)
CMYKcmyk(0%, 64.2%, 34%, 15.7%)
CIE-LABlab(53.72, 59.78, -6.83)
CIE-LCHlch(53.72, 60.17, 353.48°)
OKLaboklab(62.51% 0.1826 -0.0173)
OKLCHoklch(62.51% 0.183 354.6)
XYZxyz(35.5627, 21.7117, 27.9039)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74D8E #4DD796
analogous
#D74DD3 #D74D8E #D7514D
triadic
#D74D8E #8ED74D #4D8ED7
tetradic
#D74D8E #D3D74D #4DD796 #514DD7
square
#D74D8E #D3D74D #4DD796 #514DD7
split-complementary
#D74D8E #4DD751 #4DD3D7
monochromatic
#8A1F52 #BC2A6F #D74D8E #E27FAE #EDB1CD

Accessibility & contrast

On white

3.93
#D74D8E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D74D8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74D8E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74D8E#FFFFFF#000000##000000
##D74D8E1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647090
Deuteranopia (green-blind)
#898A8B
Tritanopia (blue-blind)
#E74367
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d74d8e;
/* rgb */ color: rgb(215, 77, 142);
/* oklch */ color: oklch(62.5% 0.183 354.6);
Tailwind
colors: {
  custom: {
    50: '#e887af',
    500: '#d74d8e',
    950: '#000000',
  },
}
SCSS
$custom: #d74d8e;
$custom-light: #e887af;
$custom-dark: #000000;
JSON
{
  "hex": "#d74d8e",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 331.739,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62509,
    "c": 0.18337,
    "h": 354.6
  },
  "luminance": 0.21708
}

Semantic roles & 50–950 ramp

primary
#D74D8E
secondary
#A4DCC2
accent
#E69941
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #D74D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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