#D74A7F#D74A7F

#D74A7F is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.182 H 0.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#D74A7F
RGBrgb(215, 74, 127)
HSLhsl(337, 64%, 57%)
HSVhsv(337, 66%, 84%)
CMYKcmyk(0%, 65.6%, 40.9%, 15.7%)
CIE-LABlab(52.82, 59.36, 0.77)
CIE-LCHlch(52.82, 59.37, 0.74°)
OKLaboklab(61.69% 0.1816 0.0027)
OKLCHoklch(61.69% 0.182 0.8)
XYZxyz(34.3062, 20.8810, 22.2984)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74A7F #4AD7A2
analogous
#D74AC6 #D74A7F #D75C4A
triadic
#D74A7F #7FD74A #4A7FD7
tetradic
#D74A7F #C6D74A #4AD7A2 #5C4AD7
square
#D74A7F #C6D74A #4AD7A2 #5C4AD7
split-complementary
#D74A7F #4AD75C #4AC6D7
monochromatic
#881E46 #BB2960 #D74A7F #E27CA2 #EDAEC6

Accessibility & contrast

On white

4.06
#D74A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#D74A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74A7F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74A7F#FFFFFF#000000##000000
##D74A7F1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#8B887C
Tritanopia (blue-blind)
#E83A5F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d74a7f;
/* rgb */ color: rgb(215, 74, 127);
/* oklch */ color: oklch(61.7% 0.182 0.8);
Tailwind
colors: {
  custom: {
    50: '#e885a4',
    500: '#d74a7f',
    950: '#000000',
  },
}
SCSS
$custom: #d74a7f;
$custom-light: #e885a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d74a7f",
  "rgb": {
    "r": 215,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 337.447,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.18162,
    "h": 0.8
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#D74A7F
secondary
#A2DBC6
accent
#E7A841
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #D74A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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