#D740B9#D740B9

#D740B9 is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 63.0% C 0.224 H 337.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#D740B9
RGBrgb(215, 64, 185)
HSLhsl(312, 65%, 55%)
HSVhsv(312, 70%, 84%)
CMYKcmyk(0%, 70.2%, 14%, 15.7%)
CIE-LABlab(53.62, 70.23, -32.21)
CIE-LCHlch(53.62, 77.26, 335.36°)
OKLaboklab(62.98% 0.2067 -0.0875)
OKLCHoklch(62.98% 0.224 337)
XYZxyz(38.6154, 21.6201, 48.0289)
Luminance0.2162 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740B9 #40D75E
analogous
#AA40D7 #D740B9 #D7406D
triadic
#D740B9 #B9D740 #40B9D7
tetradic
#D740B9 #D7AA40 #40D75E #406DD7
square
#D740B9 #D7AA40 #40D75E #406DD7
split-complementary
#D740B9 #6DD740 #40D7AA
monochromatic
#811B6D #B42698 #D740B9 #E273CC #ECA5DE

Accessibility & contrast

On white

3.94
#D740B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#D740B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740B9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740B9#FFFFFF#000000##000000
##D740B91.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BC
Deuteranopia (green-blind)
#7788B5
Tritanopia (blue-blind)
#E24977
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d740b9;
/* rgb */ color: rgb(215, 64, 185);
/* oklch */ color: oklch(63.0% 0.224 337.0);
Tailwind
colors: {
  custom: {
    50: '#e782ce',
    500: '#d740b9',
    950: '#000000',
  },
}
SCSS
$custom: #d740b9;
$custom-light: #e782ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d740b9",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 311.921,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62981,
    "c": 0.22446,
    "h": 337
  },
  "luminance": 0.21617
}

Semantic roles & 50–950 ramp

primary
#D740B9
secondary
#9AD9A6
accent
#E8613F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170B13
muted
#857C82

Preview Lab

Preview with #D740B9

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

Preview Lab → · Contrast checker → · Palette generator →

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