#D781BF#D781BF

#D781BF is a light, vivid pink. Relative luminance 0.339; OKLCH L 71.4% C 0.131 H 338.1°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#D781BF
RGBrgb(215, 129, 191)
HSLhsl(317, 52%, 67%)
HSVhsv(317, 40%, 84%)
CMYKcmyk(0%, 40%, 11.2%, 15.7%)
CIE-LABlab(64.89, 41.83, -18.29)
CIE-LCHlch(64.89, 45.65, 336.38°)
OKLaboklab(71.4% 0.1216 -0.0489)
OKLCHoklch(71.4% 0.131 338.1)
XYZxyz(45.2786, 33.9118, 53.4408)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D781BF #81D799
analogous
#C481D7 #D781BF #D78194
triadic
#D781BF #BFD781 #81BFD7
tetradic
#D781BF #D7C481 #81D799 #8194D7
square
#D781BF #D7C481 #81D799 #8194D7
split-complementary
#D781BF #94D781 #81D7C4
monochromatic
#A83588 #C853A7 #D781BF #E6AFD7 #F4DEEE

Accessibility & contrast

On white

2.70
#D781BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#D781BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D781BF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D781BF#FFFFFF#000000##000000
##D781BF1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395C1
Deuteranopia (green-blind)
#99A2BD
Tritanopia (blue-blind)
#E08398
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d781bf;
/* rgb */ color: rgb(215, 129, 191);
/* oklch */ color: oklch(71.4% 0.131 338.1);
Tailwind
colors: {
  custom: {
    50: '#e5a7d2',
    500: '#d781bf',
    950: '#000000',
  },
}
SCSS
$custom: #d781bf;
$custom-light: #e5a7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d781bf",
  "rgb": {
    "r": 215,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 316.744,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71402,
    "c": 0.13106,
    "h": 338.1
  },
  "luminance": 0.33909
}

Semantic roles & 50–950 ramp

primary
#D781BF
secondary
#CCE7D4
accent
#BF5126
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#161014
muted
#847F82

Preview Lab

Preview with #D781BF

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

Preview Lab → · Contrast checker → · Palette generator →

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