#F797CD#F797CD

#F797CD is a light, vivid pink. Relative luminance 0.463; OKLCH L 79.1% C 0.132 H 345.7°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#F797CD
RGBrgb(247, 151, 205)
HSLhsl(326, 86%, 78%)
HSVhsv(326, 39%, 97%)
CMYKcmyk(0%, 38.9%, 17%, 3.1%)
CIE-LABlab(73.75, 43.11, -12.35)
CIE-LCHlch(73.75, 44.85, 344.01°)
OKLaboklab(79.07% 0.1277 -0.0325)
OKLCHoklch(79.07% 0.132 345.7)
XYZxyz(60.4445, 46.3189, 63.5025)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797CD #97F7C1
analogous
#F197F7 #F797CD #F7979D
triadic
#F797CD #CDF797 #97CDF7
tetradic
#F797CD #F7F197 #97F7C1 #979DF7
square
#F797CD #F7F197 #97F7C1 #979DF7
split-complementary
#F797CD #9DF797 #97F7F1
monochromatic
#EE2596 #F35EB2 #F797CD #FBD0E8 #FDE3F1

Accessibility & contrast

On white

2.05
#F797CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#F797CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797CD
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797CD#FFFFFF#000000##000000
##F797CD1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EACCF
Deuteranopia (green-blind)
#B6BBCA
Tritanopia (blue-blind)
#FF96AA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f797cd;
/* rgb */ color: rgb(247, 151, 205);
/* oklch */ color: oklch(79.1% 0.132 345.7);
Tailwind
colors: {
  custom: {
    50: '#fbb7dc',
    500: '#f797cd',
    950: '#000000',
  },
}
SCSS
$custom: #f797cd;
$custom-light: #fbb7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#f797cd",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 326.25,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79073,
    "c": 0.13179,
    "h": 345.7
  },
  "luminance": 0.46315
}

Semantic roles & 50–950 ramp

primary
#F797CD
secondary
#D6F5E4
accent
#E26503
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F797CD

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

Preview Lab → · Contrast checker → · Palette generator →

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