#D74A7D#D74A7D

#D74A7D is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.6% C 0.181 H 1.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D74A7D
RGBrgb(215, 74, 125)
HSLhsl(338, 64%, 57%)
HSVhsv(338, 66%, 84%)
CMYKcmyk(0%, 65.6%, 41.9%, 15.7%)
CIE-LABlab(52.76, 59.16, 1.88)
CIE-LCHlch(52.76, 59.19, 1.82°)
OKLaboklab(61.63% 0.1809 0.0056)
OKLCHoklch(61.63% 0.181 1.8)
XYZxyz(34.1772, 20.8294, 21.6187)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74A7D #4AD7A4
analogous
#D74AC4 #D74A7D #D75E4A
triadic
#D74A7D #7DD74A #4A7DD7
tetradic
#D74A7D #C4D74A #4AD7A4 #5E4AD7
square
#D74A7D #C4D74A #4AD7A4 #5E4AD7
split-complementary
#D74A7D #4AD75E #4AC4D7
monochromatic
#881E45 #BB295E #D74A7D #E27CA1 #EDAEC5

Accessibility & contrast

On white

4.07
#D74A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D74A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74A7D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74A7D#FFFFFF#000000##000000
##D74A7D1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7E
Deuteranopia (green-blind)
#8C887A
Tritanopia (blue-blind)
#E9395E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d74a7d;
/* rgb */ color: rgb(215, 74, 125);
/* oklch */ color: oklch(61.6% 0.181 1.8);
Tailwind
colors: {
  custom: {
    50: '#e885a2',
    500: '#d74a7d',
    950: '#000000',
  },
}
SCSS
$custom: #d74a7d;
$custom-light: #e885a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d74a7d",
  "rgb": {
    "r": 215,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 338.298,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61632,
    "c": 0.18101,
    "h": 1.8
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#D74A7D
secondary
#A2DBC6
accent
#E7AB41
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #D74A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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