#F786DF#F786DF

#F786DF is a light, vivid pink. Relative luminance 0.422; OKLCH L 77.2% C 0.173 H 335.6°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#F786DF
RGBrgb(247, 134, 223)
HSLhsl(313, 88%, 75%)
HSVhsv(313, 46%, 97%)
CMYKcmyk(0%, 45.7%, 9.7%, 3.1%)
CIE-LABlab(70.98, 54.49, -26.48)
CIE-LCHlch(70.98, 60.59, 334.08°)
OKLaboklab(77.19% 0.1576 -0.0714)
OKLCHoklch(77.19% 0.173 335.6)
XYZxyz(60.2022, 42.1559, 74.7637)
Luminance0.4215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786DF #86F79E
analogous
#D686F7 #F786DF #F786A7
triadic
#F786DF #DFF786 #86DFF7
tetradic
#F786DF #F7D686 #86F79E #86A7F7
square
#F786DF #F7D686 #86F79E #86A7F7
split-complementary
#F786DF #A7F786 #86F7D6
monochromatic
#EF13C1 #F34DD0 #F786DF #FBBFEE #FDE2F7

Accessibility & contrast

On white

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

On black

9.43
#F786DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786DF
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786DF#FFFFFF#000000##000000
##F786DF1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E2
Deuteranopia (green-blind)
#A5B4DC
Tritanopia (blue-blind)
#FF8BA8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f786df;
/* rgb */ color: rgb(247, 134, 223);
/* oklch */ color: oklch(77.2% 0.173 335.6);
Tailwind
colors: {
  custom: {
    50: '#fcace9',
    500: '#f786df',
    950: '#000000',
  },
}
SCSS
$custom: #f786df;
$custom-light: #fcace9;
$custom-dark: #000000;
JSON
{
  "hex": "#f786df",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 312.743,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77187,
    "c": 0.17307,
    "h": 335.6
  },
  "luminance": 0.42152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F786DF

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

Preview Lab → · Contrast checker → · Palette generator →

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