#F781A5#F781A5

#F781A5 is a light, vivid pink. Relative luminance 0.382; OKLCH L 74.5% C 0.148 H 1.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#F781A5
RGBrgb(247, 129, 165)
HSLhsl(342, 88%, 74%)
HSVhsv(342, 48%, 97%)
CMYKcmyk(0%, 47.8%, 33.2%, 3.1%)
CIE-LABlab(68.16, 48.77, 1.67)
CIE-LCHlch(68.16, 48.80, 1.96°)
OKLaboklab(74.46% 0.1481 0.005)
OKLCHoklch(74.46% 0.148 1.9)
XYZxyz(53.0019, 38.1961, 40.1712)
Luminance0.3819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781A5 #81F7D3
analogous
#F781E0 #F781A5 #F79881
triadic
#F781A5 #A5F781 #81A5F7
tetradic
#F781A5 #E0F781 #81F7D3 #9881F7
square
#F781A5 #E0F781 #81F7D3 #9881F7
split-complementary
#F781A5 #81F798 #81E0F7
monochromatic
#EE0F53 #F3477C #F781A5 #FBBBCE #FDE2EA

Accessibility & contrast

On white

2.43
#F781A5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#F781A5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781A5
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781A5#FFFFFF#000000##000000
##F781A51.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9499A6
Deuteranopia (green-blind)
#B2AFA2
Tritanopia (blue-blind)
#FF788E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f781a5;
/* rgb */ color: rgb(247, 129, 165);
/* oklch */ color: oklch(74.5% 0.148 1.9);
Tailwind
colors: {
  custom: {
    50: '#fda8bf',
    500: '#f781a5',
    950: '#000000',
  },
}
SCSS
$custom: #f781a5;
$custom-light: #fda8bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f781a5",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 165
  },
  "hsl": {
    "h": 341.695,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.14815,
    "h": 1.9
  },
  "luminance": 0.38191
}

Semantic roles & 50–950 ramp

primary
#F781A5
secondary
#D6F5EC
accent
#E59F01
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F781A5

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

Preview Lab → · Contrast checker → · Palette generator →

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