#F787DF#F787DF

#F787DF is a light, vivid pink. Relative luminance 0.424; OKLCH L 77.3% C 0.171 H 335.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#F787DF
RGBrgb(247, 135, 223)
HSLhsl(313, 88%, 75%)
HSVhsv(313, 45%, 97%)
CMYKcmyk(0%, 45.3%, 9.7%, 3.1%)
CIE-LABlab(71.17, 54.00, -26.19)
CIE-LCHlch(71.17, 60.02, 334.13°)
OKLaboklab(77.33% 0.1562 -0.0706)
OKLCHoklch(77.33% 0.171 335.7)
XYZxyz(60.3411, 42.4336, 74.8100)
Luminance0.4243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787DF #87F79F
analogous
#D787F7 #F787DF #F787A7
triadic
#F787DF #DFF787 #87DFF7
tetradic
#F787DF #F7D787 #87F79F #87A7F7
square
#F787DF #F7D787 #87F79F #87A7F7
split-complementary
#F787DF #A7F787 #87F7D7
monochromatic
#EF14C0 #F34ED0 #F787DF #FBC0EE #FDE2F7

Accessibility & contrast

On white

2.21
#F787DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#F787DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787DF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787DF#FFFFFF#000000##000000
##F787DF1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A4E2
Deuteranopia (green-blind)
#A6B4DC
Tritanopia (blue-blind)
#FF8CA9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f787df;
/* rgb */ color: rgb(247, 135, 223);
/* oklch */ color: oklch(77.3% 0.171 335.7);
Tailwind
colors: {
  custom: {
    50: '#fcade9',
    500: '#f787df',
    950: '#000000',
  },
}
SCSS
$custom: #f787df;
$custom-light: #fcade9;
$custom-dark: #000000;
JSON
{
  "hex": "#f787df",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 312.857,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7733,
    "c": 0.17144,
    "h": 335.7
  },
  "luminance": 0.4243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F787DF

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

Preview Lab → · Contrast checker → · Palette generator →

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