#F781E2#F781E2

#F781E2 is a light, vivid pink. Relative luminance 0.410; OKLCH L 76.6% C 0.184 H 334.3°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#F781E2
RGBrgb(247, 129, 226)
HSLhsl(311, 88%, 74%)
HSVhsv(311, 48%, 97%)
CMYKcmyk(0%, 47.8%, 8.5%, 3.1%)
CIE-LABlab(70.15, 57.41, -29.40)
CIE-LCHlch(70.15, 64.50, 332.88°)
OKLaboklab(76.61% 0.1654 -0.0796)
OKLCHoklch(76.61% 0.184 334.3)
XYZxyz(59.9355, 40.9695, 76.6878)
Luminance0.4097 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781E2 #81F796
analogous
#D181F7 #F781E2 #F781A7
triadic
#F781E2 #E2F781 #81E2F7
tetradic
#F781E2 #F7D181 #81F796 #81A7F7
square
#F781E2 #F7D181 #81F796 #81A7F7
split-complementary
#F781E2 #A7F781 #81F7D1
monochromatic
#EE0FC7 #F347D5 #F781E2 #FBBBEF #FDE2F8

Accessibility & contrast

On white

2.28
#F781E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#F781E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781E2
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781E2#FFFFFF#000000##000000
##F781E21.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A1E5
Deuteranopia (green-blind)
#A1B2DF
Tritanopia (blue-blind)
#FF87A7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f781e2;
/* rgb */ color: rgb(247, 129, 226);
/* oklch */ color: oklch(76.6% 0.184 334.3);
Tailwind
colors: {
  custom: {
    50: '#fca9eb',
    500: '#f781e2',
    950: '#000000',
  },
}
SCSS
$custom: #f781e2;
$custom-light: #fca9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f781e2",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 310.678,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7661,
    "c": 0.18353,
    "h": 334.3
  },
  "luminance": 0.40966
}

Semantic roles & 50–950 ramp

primary
#F781E2
secondary
#D6F5DB
accent
#E52901
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F781E2

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

Preview Lab → · Contrast checker → · Palette generator →

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