#D74D7B#D74D7B

#D74D7B is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.177 H 3.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#D74D7B
RGBrgb(215, 77, 123)
HSLhsl(340, 63%, 57%)
HSVhsv(340, 64%, 84%)
CMYKcmyk(0%, 64.2%, 42.8%, 15.7%)
CIE-LABlab(53.16, 57.74, 3.64)
CIE-LCHlch(53.16, 57.85, 3.61°)
OKLaboklab(61.91% 0.1764 0.0101)
OKLCHoklch(61.91% 0.177 3.3)
XYZxyz(34.2558, 21.1890, 21.0210)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74D7B #4DD7A9
analogous
#D74DC0 #D74D7B #D7644D
triadic
#D74D7B #7BD74D #4D7BD7
tetradic
#D74D7B #C0D74D #4DD7A9 #644DD7
square
#D74D7B #C0D74D #4DD7A9 #644DD7
split-complementary
#D74D7B #4DD764 #4DC0D7
monochromatic
#8A1F43 #BC2A5B #D74D7B #E27FA0 #EDB1C5

Accessibility & contrast

On white

4.01
#D74D7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#D74D7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74D7B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74D7B#FFFFFF#000000##000000
##D74D7B1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#696E7C
Deuteranopia (green-blind)
#8D8978
Tritanopia (blue-blind)
#E93C5F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d74d7b;
/* rgb */ color: rgb(215, 77, 123);
/* oklch */ color: oklch(61.9% 0.177 3.3);
Tailwind
colors: {
  custom: {
    50: '#e886a1',
    500: '#d74d7b',
    950: '#000000',
  },
}
SCSS
$custom: #d74d7b;
$custom-light: #e886a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d74d7b",
  "rgb": {
    "r": 215,
    "g": 77,
    "b": 123
  },
  "hsl": {
    "h": 340,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61906,
    "c": 0.17664,
    "h": 3.3
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#D74D7B
secondary
#A4DCC9
accent
#E6AF41
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D74D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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