#F787E1#F787E1

#F787E1 is a light, vivid pink. Relative luminance 0.425; OKLCH L 77.4% C 0.173 H 334.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#F787E1
RGBrgb(247, 135, 225)
HSLhsl(312, 88%, 75%)
HSVhsv(312, 45%, 97%)
CMYKcmyk(0%, 45.3%, 8.9%, 3.1%)
CIE-LABlab(71.24, 54.32, -27.18)
CIE-LCHlch(71.24, 60.74, 333.42°)
OKLaboklab(77.41% 0.1567 -0.0734)
OKLCHoklch(77.41% 0.173 334.9)
XYZxyz(60.6123, 42.5421, 76.2385)
Luminance0.4254 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787E1 #87F79D
analogous
#D587F7 #F787E1 #F787A9
triadic
#F787E1 #E1F787 #87E1F7
tetradic
#F787E1 #F7D587 #87F79D #87A9F7
square
#F787E1 #F7D587 #87F79D #87A9F7
split-complementary
#F787E1 #A9F787 #87F7D5
monochromatic
#EF14C4 #F34ED3 #F787E1 #FBC0EF #FDE2F8

Accessibility & contrast

On white

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

On black

9.51
#F787E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787E1
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787E1#FFFFFF#000000##000000
##F787E11.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A4E4
Deuteranopia (green-blind)
#A5B4DE
Tritanopia (blue-blind)
#FF8CAA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f787e1;
/* rgb */ color: rgb(247, 135, 225);
/* oklch */ color: oklch(77.4% 0.173 334.9);
Tailwind
colors: {
  custom: {
    50: '#fcadea',
    500: '#f787e1',
    950: '#000000',
  },
}
SCSS
$custom: #f787e1;
$custom-light: #fcadea;
$custom-dark: #000000;
JSON
{
  "hex": "#f787e1",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 225
  },
  "hsl": {
    "h": 311.786,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7741,
    "c": 0.17302,
    "h": 334.9
  },
  "luminance": 0.42538
}

Semantic roles & 50–950 ramp

primary
#F787E1
secondary
#D6F5DC
accent
#E42E01
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F787E1

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

Preview Lab → · Contrast checker → · Palette generator →

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