#F797CF#F797CF

#F797CF is a light, vivid pink. Relative luminance 0.464; OKLCH L 79.1% C 0.133 H 344.6°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#F797CF
RGBrgb(247, 151, 207)
HSLhsl(325, 86%, 78%)
HSVhsv(325, 39%, 97%)
CMYKcmyk(0%, 38.9%, 16.2%, 3.1%)
CIE-LABlab(73.81, 43.42, -13.36)
CIE-LCHlch(73.81, 45.43, 342.90°)
OKLaboklab(79.14% 0.1283 -0.0352)
OKLCHoklch(79.14% 0.133 344.6)
XYZxyz(60.6875, 46.4161, 64.7821)
Luminance0.4641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797CF #97F7BF
analogous
#EF97F7 #F797CF #F7979F
triadic
#F797CF #CFF797 #97CFF7
tetradic
#F797CF #F7EF97 #97F7BF #979FF7
square
#F797CF #F7EF97 #97F7BF #979FF7
split-complementary
#F797CF #9FF797 #97F7EF
monochromatic
#EE259B #F35EB5 #F797CF #FBD0E9 #FDE3F2

Accessibility & contrast

On white

2.04
#F797CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#F797CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797CF
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797CF#FFFFFF#000000##000000
##F797CF1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EACD1
Deuteranopia (green-blind)
#B6BBCC
Tritanopia (blue-blind)
#FF96AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f797cf;
/* rgb */ color: rgb(247, 151, 207);
/* oklch */ color: oklch(79.1% 0.133 344.6);
Tailwind
colors: {
  custom: {
    50: '#fbb7dd',
    500: '#f797cf',
    950: '#000000',
  },
}
SCSS
$custom: #f797cf;
$custom-light: #fbb7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f797cf",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 207
  },
  "hsl": {
    "h": 325,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79141,
    "c": 0.13308,
    "h": 344.6
  },
  "luminance": 0.46412
}

Semantic roles & 50–950 ramp

primary
#F797CF
secondary
#D6F5E3
accent
#E26003
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #F797CF

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

Preview Lab → · Contrast checker → · Palette generator →

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