#F787B2#F787B2

#F787B2 is a light, vivid pink. Relative luminance 0.403; OKLCH L 75.7% C 0.144 H 356.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F787B2
RGBrgb(247, 135, 178)
HSLhsl(337, 88%, 75%)
HSVhsv(337, 45%, 97%)
CMYKcmyk(0%, 45.3%, 27.9%, 3.1%)
CIE-LABlab(69.70, 47.42, -3.39)
CIE-LCHlch(69.70, 47.54, 355.91°)
OKLaboklab(75.74% 0.1434 -0.0083)
OKLCHoklch(75.74% 0.144 356.7)
XYZxyz(55.0595, 40.3210, 46.9937)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787B2 #87F7CC
analogous
#F787EA #F787B2 #F79487
triadic
#F787B2 #B2F787 #87B2F7
tetradic
#F787B2 #EAF787 #87F7CC #9487F7
square
#F787B2 #EAF787 #87F7CC #9487F7
split-complementary
#F787B2 #87F794 #87EAF7
monochromatic
#EF1468 #F34E8D #F787B2 #FBC0D7 #FDE2ED

Accessibility & contrast

On white

2.32
#F787B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F787B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787B2
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787B2#FFFFFF#000000##000000
##F787B21.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#969EB3
Deuteranopia (green-blind)
#B3B2AF
Tritanopia (blue-blind)
#FF8196
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f787b2;
/* rgb */ color: rgb(247, 135, 178);
/* oklch */ color: oklch(75.7% 0.144 356.7);
Tailwind
colors: {
  custom: {
    50: '#fcacc9',
    500: '#f787b2',
    950: '#000000',
  },
}
SCSS
$custom: #f787b2;
$custom-light: #fcacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f787b2",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 336.964,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7574,
    "c": 0.14363,
    "h": 356.7
  },
  "luminance": 0.40316
}

Semantic roles & 50–950 ramp

primary
#F787B2
secondary
#D6F5E9
accent
#E48D01
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #F787B2

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

Preview Lab → · Contrast checker → · Palette generator →

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