#D740A5#D740A5

#D740A5 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.1% C 0.212 H 344.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D740A5
RGBrgb(215, 64, 165)
HSLhsl(320, 65%, 55%)
HSVhsv(320, 70%, 84%)
CMYKcmyk(0%, 70.2%, 23.3%, 15.7%)
CIE-LABlab(52.77, 67.52, -21.85)
CIE-LCHlch(52.77, 70.97, 342.07°)
OKLaboklab(62.08% 0.2036 -0.0583)
OKLCHoklch(62.08% 0.212 344)
XYZxyz(36.6506, 20.8342, 37.6813)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740A5 #40D772
analogous
#BE40D7 #D740A5 #D74059
triadic
#D740A5 #A5D740 #40A5D7
tetradic
#D740A5 #D7BE40 #40D772 #4059D7
square
#D740A5 #D7BE40 #40D772 #4059D7
split-complementary
#D740A5 #59D740 #40D7BE
monochromatic
#811B60 #B42685 #D740A5 #E273BD #ECA5D5

Accessibility & contrast

On white

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

On black

5.17
#D740A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740A5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740A5#FFFFFF#000000##000000
##D740A51.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#7E87A1
Tritanopia (blue-blind)
#E53F6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d740a5;
/* rgb */ color: rgb(215, 64, 165);
/* oklch */ color: oklch(62.1% 0.212 344.0);
Tailwind
colors: {
  custom: {
    50: '#e781c0',
    500: '#d740a5',
    950: '#000000',
  },
}
SCSS
$custom: #d740a5;
$custom-light: #e781c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d740a5",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 319.868,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62081,
    "c": 0.21177,
    "h": 344
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#D740A5
secondary
#9AD9AF
accent
#E8773F
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D740A5

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

Preview Lab → · Contrast checker → · Palette generator →

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