#F786E2#F786E2

#F786E2 is a light, vivid pink. Relative luminance 0.423; OKLCH L 77.3% C 0.175 H 334.5°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#F786E2
RGBrgb(247, 134, 226)
HSLhsl(311, 88%, 75%)
HSVhsv(311, 46%, 97%)
CMYKcmyk(0%, 45.7%, 8.5%, 3.1%)
CIE-LABlab(71.09, 54.98, -27.96)
CIE-LCHlch(71.09, 61.68, 333.04°)
OKLaboklab(77.31% 0.1583 -0.0756)
OKLCHoklch(77.31% 0.175 334.5)
XYZxyz(60.6103, 42.3191, 76.9127)
Luminance0.4232 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786E2 #86F79B
analogous
#D386F7 #F786E2 #F786AA
triadic
#F786E2 #E2F786 #86E2F7
tetradic
#F786E2 #F7D386 #86F79B #86AAF7
square
#F786E2 #F7D386 #86F79B #86AAF7
split-complementary
#F786E2 #AAF786 #86F7D3
monochromatic
#EF13C6 #F34DD4 #F786E2 #FBBFF0 #FDE2F8

Accessibility & contrast

On white

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

On black

9.46
#F786E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786E2
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786E2#FFFFFF#000000##000000
##F786E21.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A4E5
Deuteranopia (green-blind)
#A4B4DF
Tritanopia (blue-blind)
#FF8CAA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f786e2;
/* rgb */ color: rgb(247, 134, 226);
/* oklch */ color: oklch(77.3% 0.175 334.5);
Tailwind
colors: {
  custom: {
    50: '#fcaceb',
    500: '#f786e2',
    950: '#000000',
  },
}
SCSS
$custom: #f786e2;
$custom-light: #fcaceb;
$custom-dark: #000000;
JSON
{
  "hex": "#f786e2",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 226
  },
  "hsl": {
    "h": 311.15,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77308,
    "c": 0.17545,
    "h": 334.5
  },
  "luminance": 0.42315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F786E2

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

Preview Lab → · Contrast checker → · Palette generator →

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