#D740BC#D740BC

#D740BC is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 63.1% C 0.227 H 336.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#D740BC
RGBrgb(215, 64, 188)
HSLhsl(311, 65%, 55%)
HSVhsv(311, 70%, 84%)
CMYKcmyk(0%, 70.2%, 12.6%, 15.7%)
CIE-LABlab(53.76, 70.66, -33.73)
CIE-LCHlch(53.76, 78.29, 334.48°)
OKLaboklab(63.13% 0.207 -0.0919)
OKLCHoklch(63.13% 0.227 336.1)
XYZxyz(38.9354, 21.7482, 49.7144)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D740BC #40D75B
analogous
#A640D7 #D740BC #D74071
triadic
#D740BC #BCD740 #40BCD7
tetradic
#D740BC #D7A640 #40D75B #4071D7
square
#D740BC #D7A640 #40D75B #4071D7
split-complementary
#D740BC #71D740 #40D7A6
monochromatic
#811B6F #B4269B #D740BC #E273CE #ECA5E0

Accessibility & contrast

On white

3.93
#D740BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#D740BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D740BC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D740BC#FFFFFF#000000##000000
##D740BC1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#7589B8
Tritanopia (blue-blind)
#E24A79
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d740bc;
/* rgb */ color: rgb(215, 64, 188);
/* oklch */ color: oklch(63.1% 0.227 336.1);
Tailwind
colors: {
  custom: {
    50: '#e782d0',
    500: '#d740bc',
    950: '#000000',
  },
}
SCSS
$custom: #d740bc;
$custom-light: #e782d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d740bc",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 310.728,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63125,
    "c": 0.22651,
    "h": 336.1
  },
  "luminance": 0.21745
}

Semantic roles & 50–950 ramp

primary
#D740BC
secondary
#9AD9A5
accent
#E85E3F
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D740BC

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

Preview Lab → · Contrast checker → · Palette generator →

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