#F797DD#F797DD

#F797DD is a light, vivid pink. Relative luminance 0.471; OKLCH L 79.6% C 0.143 H 337.6°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#F797DD
RGBrgb(247, 151, 221)
HSLhsl(316, 86%, 78%)
HSVhsv(316, 39%, 97%)
CMYKcmyk(0%, 38.9%, 10.5%, 3.1%)
CIE-LABlab(74.27, 45.63, -20.35)
CIE-LCHlch(74.27, 49.96, 335.96°)
OKLaboklab(79.64% 0.1324 -0.0545)
OKLCHoklch(79.64% 0.143 337.6)
XYZxyz(62.4755, 47.1313, 74.1991)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797DD #97F7B1
analogous
#E197F7 #F797DD #F797AD
triadic
#F797DD #DDF797 #97DDF7
tetradic
#F797DD #F7E197 #97F7B1 #97ADF7
square
#F797DD #F7E197 #97F7B1 #97ADF7
split-complementary
#F797DD #ADF797 #97F7E1
monochromatic
#EE25B8 #F35ECA #F797DD #FBD0F0 #FDE3F6

Accessibility & contrast

On white

2.01
#F797DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#F797DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797DD
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797DD#FFFFFF#000000##000000
##F797DD1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AEE0
Deuteranopia (green-blind)
#B2BCDA
Tritanopia (blue-blind)
#FF9AB1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f797dd;
/* rgb */ color: rgb(247, 151, 221);
/* oklch */ color: oklch(79.6% 0.143 337.6);
Tailwind
colors: {
  custom: {
    50: '#fbb7e7',
    500: '#f797dd',
    950: '#000000',
  },
}
SCSS
$custom: #f797dd;
$custom-light: #fbb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f797dd",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 316.25,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79639,
    "c": 0.14314,
    "h": 337.6
  },
  "luminance": 0.47128
}

Semantic roles & 50–950 ramp

primary
#F797DD
secondary
#D6F5DE
accent
#E24003
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F797DD

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

Preview Lab → · Contrast checker → · Palette generator →

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