#F786DC#F786DC

#F786DC is a light, vivid pink. Relative luminance 0.420; OKLCH L 77.1% C 0.171 H 336.8°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#F786DC
RGBrgb(247, 134, 220)
HSLhsl(314, 88%, 75%)
HSVhsv(314, 46%, 97%)
CMYKcmyk(0%, 45.7%, 10.9%, 3.1%)
CIE-LABlab(70.87, 54.01, -25.00)
CIE-LCHlch(70.87, 59.52, 335.17°)
OKLaboklab(77.07% 0.1569 -0.0673)
OKLCHoklch(77.07% 0.171 336.8)
XYZxyz(59.8013, 41.9955, 72.6524)
Luminance0.4199 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786DC #86F7A1
analogous
#D986F7 #F786DC #F786A4
triadic
#F786DC #DCF786 #86DCF7
tetradic
#F786DC #F7D986 #86F7A1 #86A4F7
square
#F786DC #F7D986 #86F7A1 #86A4F7
split-complementary
#F786DC #A4F786 #86F7D9
monochromatic
#EF13BB #F34DCB #F786DC #FBBFED #FDE2F7

Accessibility & contrast

On white

2.23
#F786DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#F786DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786DC
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786DC#FFFFFF#000000##000000
##F786DC1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A3DF
Deuteranopia (green-blind)
#A6B4D9
Tritanopia (blue-blind)
#FF8AA7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f786dc;
/* rgb */ color: rgb(247, 134, 220);
/* oklch */ color: oklch(77.1% 0.171 336.8);
Tailwind
colors: {
  custom: {
    50: '#fcace7',
    500: '#f786dc',
    950: '#000000',
  },
}
SCSS
$custom: #f786dc;
$custom-light: #fcace7;
$custom-dark: #000000;
JSON
{
  "hex": "#f786dc",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 314.336,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77069,
    "c": 0.17075,
    "h": 336.8
  },
  "luminance": 0.41992
}

Semantic roles & 50–950 ramp

primary
#F786DC
secondary
#D6F5DD
accent
#E43801
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F786DC

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

Preview Lab → · Contrast checker → · Palette generator →

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