#F787DB#F787DB

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

Color values

HEX#F787DB
RGBrgb(247, 135, 219)
HSLhsl(315, 88%, 75%)
HSVhsv(315, 45%, 97%)
CMYKcmyk(0%, 45.3%, 11.3%, 3.1%)
CIE-LABlab(71.02, 53.36, -24.21)
CIE-LCHlch(71.02, 58.60, 335.60°)
OKLaboklab(77.17% 0.1553 -0.0651)
OKLCHoklch(77.17% 0.168 337.3)
XYZxyz(59.8082, 42.2204, 72.0033)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787DB #87F7A3
analogous
#DB87F7 #F787DB #F787A3
triadic
#F787DB #DBF787 #87DBF7
tetradic
#F787DB #F7DB87 #87F7A3 #87A3F7
square
#F787DB #F7DB87 #87F7A3 #87A3F7
split-complementary
#F787DB #A3F787 #87F7DB
monochromatic
#EF14B9 #F34ECA #F787DB #FBC0EC #FDE2F6

Accessibility & contrast

On white

2.22
#F787DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#F787DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787DB
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787DB#FFFFFF#000000##000000
##F787DB1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DE
Deuteranopia (green-blind)
#A7B4D8
Tritanopia (blue-blind)
#FF8BA7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f787db;
/* rgb */ color: rgb(247, 135, 219);
/* oklch */ color: oklch(77.2% 0.168 337.3);
Tailwind
colors: {
  custom: {
    50: '#fcade6',
    500: '#f787db',
    950: '#000000',
  },
}
SCSS
$custom: #f787db;
$custom-light: #fcade6;
$custom-dark: #000000;
JSON
{
  "hex": "#f787db",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 315,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77172,
    "c": 0.16834,
    "h": 337.3
  },
  "luminance": 0.42217
}

Semantic roles & 50–950 ramp

primary
#F787DB
secondary
#D6F5DE
accent
#E43A01
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F787DB

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

Preview Lab → · Contrast checker → · Palette generator →

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