#F791DC#F791DC

#F791DC is a light, vivid pink. Relative luminance 0.452; OKLCH L 78.7% C 0.152 H 337.6°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#F791DC
RGBrgb(247, 145, 220)
HSLhsl(316, 86%, 77%)
HSVhsv(316, 41%, 97%)
CMYKcmyk(0%, 41.3%, 10.9%, 3.1%)
CIE-LABlab(73.02, 48.52, -21.71)
CIE-LCHlch(73.02, 53.16, 335.90°)
OKLaboklab(78.68% 0.141 -0.0582)
OKLCHoklch(78.68% 0.153 337.6)
XYZxyz(61.4015, 45.1959, 73.1858)
Luminance0.4519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F791DC #91F7AC
analogous
#DF91F7 #F791DC #F791A9
triadic
#F791DC #DCF791 #91DCF7
tetradic
#F791DC #F7DF91 #91F7AC #91A9F7
square
#F791DC #F7DF91 #91F7AC #91A9F7
split-complementary
#F791DC #A9F791 #91F7DF
monochromatic
#EF1FB8 #F358CA #F791DC #FBCAEE #FDE2F6

Accessibility & contrast

On white

2.09
#F791DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#F791DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F791DC
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F791DC#FFFFFF#000000##000000
##F791DC1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AADF
Deuteranopia (green-blind)
#AEB9D9
Tritanopia (blue-blind)
#FF94AD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f791dc;
/* rgb */ color: rgb(247, 145, 220);
/* oklch */ color: oklch(78.7% 0.152 337.6);
Tailwind
colors: {
  custom: {
    50: '#fbb3e7',
    500: '#f791dc',
    950: '#000000',
  },
}
SCSS
$custom: #f791dc;
$custom-light: #fbb3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f791dc",
  "rgb": {
    "r": 247,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 315.882,
    "s": 86.441,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78684,
    "c": 0.1525,
    "h": 337.6
  },
  "luminance": 0.45192
}

Semantic roles & 50–950 ramp

primary
#F791DC
secondary
#D6F5DE
accent
#E33E03
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F791DC

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

Preview Lab → · Contrast checker → · Palette generator →

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