#F787D4#F787D4

#F787D4 is a light, vivid pink. Relative luminance 0.419; OKLCH L 76.9% C 0.163 H 340.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#F787D4
RGBrgb(247, 135, 212)
HSLhsl(319, 88%, 75%)
HSVhsv(319, 45%, 97%)
CMYKcmyk(0%, 45.3%, 14.2%, 3.1%)
CIE-LABlab(70.77, 52.27, -20.71)
CIE-LCHlch(70.77, 56.22, 338.38°)
OKLaboklab(76.9% 0.1535 -0.0553)
OKLCHoklch(76.9% 0.163 340.2)
XYZxyz(58.9060, 41.8595, 67.2517)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787D4 #87F7AA
analogous
#E287F7 #F787D4 #F7879C
triadic
#F787D4 #D4F787 #87D4F7
tetradic
#F787D4 #F7E287 #87F7AA #879CF7
square
#F787D4 #F7E287 #87F7AA #879CF7
split-complementary
#F787D4 #9CF787 #87F7E2
monochromatic
#EF14AB #F34EBF #F787D4 #FBC0E9 #FDE2F5

Accessibility & contrast

On white

2.24
#F787D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#F787D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787D4
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787D4#FFFFFF#000000##000000
##F787D41.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA2D7
Deuteranopia (green-blind)
#AAB4D1
Tritanopia (blue-blind)
#FF89A4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f787d4;
/* rgb */ color: rgb(247, 135, 212);
/* oklch */ color: oklch(76.9% 0.163 340.2);
Tailwind
colors: {
  custom: {
    50: '#fcade1',
    500: '#f787d4',
    950: '#000000',
  },
}
SCSS
$custom: #f787d4;
$custom-light: #fcade1;
$custom-dark: #000000;
JSON
{
  "hex": "#f787d4",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 318.75,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76904,
    "c": 0.16317,
    "h": 340.2
  },
  "luminance": 0.41856
}

Semantic roles & 50–950 ramp

primary
#F787D4
secondary
#D6F5E0
accent
#E44801
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F787D4

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

Preview Lab → · Contrast checker → · Palette generator →

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