#D74E7B#D74E7B

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

Color values

HEX#D74E7B
RGBrgb(215, 78, 123)
HSLhsl(340, 63%, 57%)
HSVhsv(340, 64%, 84%)
CMYKcmyk(0%, 63.7%, 42.8%, 15.7%)
CIE-LABlab(53.31, 57.32, 3.86)
CIE-LCHlch(53.31, 57.45, 3.86°)
OKLaboklab(62.02% 0.175 0.0106)
OKLCHoklch(62.02% 0.175 3.5)
XYZxyz(34.3263, 21.3300, 21.0445)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74E7B #4ED7AA
analogous
#D74EC0 #D74E7B #D7654E
triadic
#D74E7B #7BD74E #4E7BD7
tetradic
#D74E7B #C0D74E #4ED7AA #654ED7
square
#D74E7B #C0D74E #4ED7AA #654ED7
split-complementary
#D74E7B #4ED765 #4EC0D7
monochromatic
#8B1F43 #BD2B5B #D74E7B #E280A0 #EEB2C5

Accessibility & contrast

On white

3.99
#D74E7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D74E7B#FFFFFF#000000##000000
##D74E7B1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6E7C
Deuteranopia (green-blind)
#8E8978
Tritanopia (blue-blind)
#E93D60
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d74e7b;
/* rgb */ color: rgb(215, 78, 123);
/* oklch */ color: oklch(62.0% 0.175 3.5);
Tailwind
colors: {
  custom: {
    50: '#e887a1',
    500: '#d74e7b',
    950: '#000000',
  },
}
SCSS
$custom: #d74e7b;
$custom-light: #e887a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d74e7b",
  "rgb": {
    "r": 215,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 340.292,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6202,
    "c": 0.17535,
    "h": 3.5
  },
  "luminance": 0.21326
}

Semantic roles & 50–950 ramp

primary
#D74E7B
secondary
#A5DCCA
accent
#E6B042
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #D74E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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