#D740A2#D740A2

#D740A2 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 62.0% C 0.210 H 345.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D740A2
RGBrgb(215, 64, 162)
HSLhsl(321, 65%, 55%)
HSVhsv(321, 70%, 84%)
CMYKcmyk(0%, 70.2%, 24.7%, 15.7%)
CIE-LABlab(52.65, 67.14, -20.27)
CIE-LCHlch(52.65, 70.13, 343.20°)
OKLaboklab(61.96% 0.203 -0.0539)
OKLCHoklch(61.96% 0.21 345.1)
XYZxyz(36.3808, 20.7263, 36.2600)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740A2 #40D775
analogous
#C140D7 #D740A2 #D74056
triadic
#D740A2 #A2D740 #40A2D7
tetradic
#D740A2 #D7C140 #40D775 #4056D7
square
#D740A2 #D7C140 #40D775 #4056D7
split-complementary
#D740A2 #56D740 #40D7C1
monochromatic
#811B5E #B42682 #D740A2 #E273BB #ECA5D3

Accessibility & contrast

On white

4.08
#D740A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D740A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740A2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740A2#FFFFFF#000000##000000
##D740A21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA5
Deuteranopia (green-blind)
#7F879E
Tritanopia (blue-blind)
#E53E6B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d740a2;
/* rgb */ color: rgb(215, 64, 162);
/* oklch */ color: oklch(62.0% 0.210 345.1);
Tailwind
colors: {
  custom: {
    50: '#e881bd',
    500: '#d740a2',
    950: '#000000',
  },
}
SCSS
$custom: #d740a2;
$custom-light: #e881bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d740a2",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 321.06,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.21002,
    "h": 345.1
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#D740A2
secondary
#9AD9B0
accent
#E87B3F
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#170B12
muted
#857C81

Preview Lab

Preview with #D740A2

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

Preview Lab → · Contrast checker → · Palette generator →

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