#D740B6#D740B6

#D740B6 is a light, highly saturated pink. Relative luminance 0.215; OKLCH L 62.8% C 0.222 H 338.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#D740B6
RGBrgb(215, 64, 182)
HSLhsl(313, 65%, 55%)
HSVhsv(313, 70%, 84%)
CMYKcmyk(0%, 70.2%, 15.3%, 15.7%)
CIE-LABlab(53.49, 69.80, -30.68)
CIE-LCHlch(53.49, 76.25, 336.28°)
OKLaboklab(62.84% 0.2063 -0.0832)
OKLCHoklch(62.84% 0.222 338)
XYZxyz(38.3020, 21.4948, 46.3786)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740B6 #40D761
analogous
#AD40D7 #D740B6 #D7406A
triadic
#D740B6 #B6D740 #40B6D7
tetradic
#D740B6 #D7AD40 #40D761 #406AD7
square
#D740B6 #D7AD40 #40D761 #406AD7
split-complementary
#D740B6 #6AD740 #40D7AD
monochromatic
#811B6B #B42695 #D740B6 #E273C9 #ECA5DD

Accessibility & contrast

On white

3.96
#D740B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#D740B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740B6
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740B6#FFFFFF#000000##000000
##D740B61.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671B9
Deuteranopia (green-blind)
#7888B2
Tritanopia (blue-blind)
#E34776
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d740b6;
/* rgb */ color: rgb(215, 64, 182);
/* oklch */ color: oklch(62.8% 0.222 338.0);
Tailwind
colors: {
  custom: {
    50: '#e781cc',
    500: '#d740b6',
    950: '#000000',
  },
}
SCSS
$custom: #d740b6;
$custom-light: #e781cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d740b6",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 313.113,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62839,
    "c": 0.22246,
    "h": 338
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#D740B6
secondary
#9AD9A7
accent
#E8643F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #D740B6

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

Preview Lab → · Contrast checker → · Palette generator →

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