#F797CB#F797CB

#F797CB is a light, vivid pink. Relative luminance 0.462; OKLCH L 79.0% C 0.131 H 346.8°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#F797CB
RGBrgb(247, 151, 203)
HSLhsl(328, 86%, 78%)
HSVhsv(328, 39%, 97%)
CMYKcmyk(0%, 38.9%, 17.8%, 3.1%)
CIE-LABlab(73.69, 42.81, -11.35)
CIE-LCHlch(73.69, 44.29, 345.16°)
OKLaboklab(79.01% 0.1271 -0.0297)
OKLCHoklch(79.01% 0.131 346.8)
XYZxyz(60.2046, 46.2230, 62.2392)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797CB #97F7C3
analogous
#F397F7 #F797CB #F7979B
triadic
#F797CB #CBF797 #97CBF7
tetradic
#F797CB #F7F397 #97F7C3 #979BF7
square
#F797CB #F7F397 #97F7C3 #979BF7
split-complementary
#F797CB #9BF797 #97F7F3
monochromatic
#EE2592 #F35EAF #F797CB #FBD0E7 #FDE3F1

Accessibility & contrast

On white

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

On black

10.24
#F797CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797CB
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797CB#FFFFFF#000000##000000
##F797CB1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f797cb;
/* rgb */ color: rgb(247, 151, 203);
/* oklch */ color: oklch(79.0% 0.131 346.8);
Tailwind
colors: {
  custom: {
    50: '#fbb7da',
    500: '#f797cb',
    950: '#000000',
  },
}
SCSS
$custom: #f797cb;
$custom-light: #fbb7da;
$custom-dark: #000000;
JSON
{
  "hex": "#f797cb",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 327.5,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79005,
    "c": 0.13054,
    "h": 346.8
  },
  "luminance": 0.46219
}

Semantic roles & 50–950 ramp

primary
#F797CB
secondary
#D6F5E4
accent
#E26903
background
#FFFBFD
surface
#FFF6FA
border
#D7D0D3
text
#181114
muted
#868083

Preview Lab

Preview with #F797CB

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

Preview Lab → · Contrast checker → · Palette generator →

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