#D74781#D74781

#D74781 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.4% C 0.186 H 359.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D74781
RGBrgb(215, 71, 129)
HSLhsl(336, 64%, 56%)
HSVhsv(336, 67%, 84%)
CMYKcmyk(0%, 67%, 40%, 15.7%)
CIE-LABlab(52.45, 60.75, -0.98)
CIE-LCHlch(52.45, 60.76, 359.08°)
OKLaboklab(61.43% 0.186 -0.0018)
OKLCHoklch(61.43% 0.186 359.4)
XYZxyz(34.2423, 20.5426, 22.9265)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D74781 #47D79D
analogous
#D747C9 #D74781 #D75547
triadic
#D74781 #81D747 #4781D7
tetradic
#D74781 #C9D747 #47D79D #5547D7
square
#D74781 #C9D747 #47D79D #5547D7
split-complementary
#D74781 #47D755 #47C9D7
monochromatic
#861D48 #B92862 #D74781 #E279A3 #EDACC6

Accessibility & contrast

On white

4.11
#D74781 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#D74781 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D74781
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D74781#FFFFFF#000000##000000
##D747811.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636C83
Deuteranopia (green-blind)
#8A877E
Tritanopia (blue-blind)
#E8375F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d74781;
/* rgb */ color: rgb(215, 71, 129);
/* oklch */ color: oklch(61.4% 0.186 359.4);
Tailwind
colors: {
  custom: {
    50: '#e883a5',
    500: '#d74781',
    950: '#000000',
  },
}
SCSS
$custom: #d74781;
$custom-light: #e883a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d74781",
  "rgb": {
    "r": 215,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 335.833,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61435,
    "c": 0.18602,
    "h": 359.4
  },
  "luminance": 0.20539
}

Semantic roles & 50–950 ramp

primary
#D74781
secondary
#9FDBC3
accent
#E7A441
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D74781

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

Preview Lab → · Contrast checker → · Palette generator →

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