#D74E7C#D74E7C

#D74E7C is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.0% C 0.176 H 3.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D74E7C
RGBrgb(215, 78, 124)
HSLhsl(340, 63%, 57%)
HSVhsv(340, 64%, 84%)
CMYKcmyk(0%, 63.7%, 42.3%, 15.7%)
CIE-LABlab(53.34, 57.42, 3.31)
CIE-LCHlch(53.34, 57.52, 3.30°)
OKLaboklab(62.05% 0.1754 0.0092)
OKLCHoklch(62.05% 0.176 3)
XYZxyz(34.3892, 21.3552, 21.3759)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74E7C #4ED7A9
analogous
#D74EC1 #D74E7C #D7644E
triadic
#D74E7C #7CD74E #4E7CD7
tetradic
#D74E7C #C1D74E #4ED7A9 #644ED7
square
#D74E7C #C1D74E #4ED7A9 #644ED7
split-complementary
#D74E7C #4ED764 #4EC1D7
monochromatic
#8B1F44 #BD2B5C #D74E7C #E280A1 #EEB2C6

Accessibility & contrast

On white

3.98
#D74E7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D74E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74E7C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74E7C#FFFFFF#000000##000000
##D74E7C1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#696F7D
Deuteranopia (green-blind)
#8E8979
Tritanopia (blue-blind)
#E93D60
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d74e7c;
/* rgb */ color: rgb(215, 78, 124);
/* oklch */ color: oklch(62.0% 0.176 3.0);
Tailwind
colors: {
  custom: {
    50: '#e887a1',
    500: '#d74e7c',
    950: '#000000',
  },
}
SCSS
$custom: #d74e7c;
$custom-light: #e887a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d74e7c",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 339.854,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62049,
    "c": 0.17562,
    "h": 3
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#D74E7C
secondary
#A5DCC9
accent
#E6AF42
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D74E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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