#D740B8#D740B8

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

Color values

HEX#D740B8
RGBrgb(215, 64, 184)
HSLhsl(312, 65%, 55%)
HSVhsv(312, 70%, 84%)
CMYKcmyk(0%, 70.2%, 14.4%, 15.7%)
CIE-LABlab(53.58, 70.08, -31.70)
CIE-LCHlch(53.58, 76.92, 335.66°)
OKLaboklab(62.93% 0.2066 -0.0861)
OKLCHoklch(62.93% 0.224 337.4)
XYZxyz(38.5102, 21.5781, 47.4749)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740B8 #40D75F
analogous
#AB40D7 #D740B8 #D7406D
triadic
#D740B8 #B8D740 #40B8D7
tetradic
#D740B8 #D7AB40 #40D75F #406DD7
square
#D740B8 #D7AB40 #40D75F #406DD7
split-complementary
#D740B8 #6DD740 #40D7AB
monochromatic
#811B6C #B42697 #D740B8 #E273CB #ECA5DE

Accessibility & contrast

On white

3.95
#D740B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D740B8#FFFFFF#000000##000000
##D740B81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#7788B4
Tritanopia (blue-blind)
#E24877
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d740b8;
/* rgb */ color: rgb(215, 64, 184);
/* oklch */ color: oklch(62.9% 0.224 337.4);
Tailwind
colors: {
  custom: {
    50: '#e782cd',
    500: '#d740b8',
    950: '#000000',
  },
}
SCSS
$custom: #d740b8;
$custom-light: #e782cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d740b8",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 184
  },
  "hsl": {
    "h": 312.318,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62933,
    "c": 0.22379,
    "h": 337.4
  },
  "luminance": 0.21575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D740B8

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

Preview Lab → · Contrast checker → · Palette generator →

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