#F797BD#F797BD

#F797BD is a light, vivid pink. Relative luminance 0.456; OKLCH L 78.6% C 0.123 H 355.0°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#F797BD
RGBrgb(247, 151, 189)
HSLhsl(336, 86%, 78%)
HSVhsv(336, 39%, 97%)
CMYKcmyk(0%, 38.9%, 23.5%, 3.1%)
CIE-LABlab(73.28, 40.77, -4.24)
CIE-LCHlch(73.28, 40.99, 354.07°)
OKLaboklab(78.55% 0.1226 -0.0106)
OKLCHoklch(78.55% 0.123 355)
XYZxyz(58.6110, 45.5855, 53.8461)
Luminance0.4558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797BD #97F7D1
analogous
#F797ED #F797BD #F7A197
triadic
#F797BD #BDF797 #97BDF7
tetradic
#F797BD #EDF797 #97F7D1 #A197F7
square
#F797BD #EDF797 #97F7D1 #A197F7
split-complementary
#F797BD #97F7A1 #97EDF7
monochromatic
#EE2575 #F35E99 #F797BD #FBD0E1 #FDE3ED

Accessibility & contrast

On white

2.08
#F797BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#F797BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797BD
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797BD#FFFFFF#000000##000000
##F797BD1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2AABE
Deuteranopia (green-blind)
#BABABB
Tritanopia (blue-blind)
#FF93A4
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f797bd;
/* rgb */ color: rgb(247, 151, 189);
/* oklch */ color: oklch(78.6% 0.123 355.0);
Tailwind
colors: {
  custom: {
    50: '#fcb7d0',
    500: '#f797bd',
    950: '#000000',
  },
}
SCSS
$custom: #f797bd;
$custom-light: #fcb7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#f797bd",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 189
  },
  "hsl": {
    "h": 336.25,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78554,
    "c": 0.12303,
    "h": 355
  },
  "luminance": 0.45581
}

Semantic roles & 50–950 ramp

primary
#F797BD
secondary
#D6F5E9
accent
#E28A03
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#181114
muted
#868082

Preview Lab

Preview with #F797BD

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

Preview Lab → · Contrast checker → · Palette generator →

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