#D781BC#D781BC

#D781BC is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.3% C 0.129 H 339.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D781BC
RGBrgb(215, 129, 188)
HSLhsl(319, 52%, 67%)
HSVhsv(319, 40%, 84%)
CMYKcmyk(0%, 40%, 12.6%, 15.7%)
CIE-LABlab(64.79, 41.33, -16.76)
CIE-LCHlch(64.79, 44.60, 337.93°)
OKLaboklab(71.29% 0.1207 -0.0447)
OKLCHoklch(71.29% 0.129 339.7)
XYZxyz(44.9519, 33.7811, 51.7199)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781BC #81D79C
analogous
#C781D7 #D781BC #D78191
triadic
#D781BC #BCD781 #81BCD7
tetradic
#D781BC #D7C781 #81D79C #8191D7
square
#D781BC #D7C781 #81D79C #8191D7
split-complementary
#D781BC #91D781 #81D7C7
monochromatic
#A83584 #C853A3 #D781BC #E6AFD5 #F4DEED

Accessibility & contrast

On white

2.71
#D781BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D781BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781BC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781BC#FFFFFF#000000##000000
##D781BC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BE
Deuteranopia (green-blind)
#9AA2BA
Tritanopia (blue-blind)
#E08397
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d781bc;
/* rgb */ color: rgb(215, 129, 188);
/* oklch */ color: oklch(71.3% 0.129 339.7);
Tailwind
colors: {
  custom: {
    50: '#e5a7d0',
    500: '#d781bc',
    950: '#000000',
  },
}
SCSS
$custom: #d781bc;
$custom-light: #e5a7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d781bc",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 318.837,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7129,
    "c": 0.12874,
    "h": 339.7
  },
  "luminance": 0.33778
}

Semantic roles & 50–950 ramp

primary
#D781BC
secondary
#CCE7D5
accent
#BF5626
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#161014
muted
#847F82

Preview Lab

Preview with #D781BC

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

Preview Lab → · Contrast checker → · Palette generator →

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