#F797DB#F797DB

#F797DB is a light, vivid pink. Relative luminance 0.470; OKLCH L 79.6% C 0.142 H 338.6°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#F797DB
RGBrgb(247, 151, 219)
HSLhsl(318, 86%, 78%)
HSVhsv(318, 39%, 97%)
CMYKcmyk(0%, 38.9%, 11.3%, 3.1%)
CIE-LABlab(74.21, 45.30, -19.36)
CIE-LCHlch(74.21, 49.27, 336.86°)
OKLaboklab(79.57% 0.1318 -0.0517)
OKLCHoklch(79.57% 0.142 338.6)
XYZxyz(62.2106, 47.0254, 72.8041)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797DB #97F7B3
analogous
#E397F7 #F797DB #F797AB
triadic
#F797DB #DBF797 #97DBF7
tetradic
#F797DB #F7E397 #97F7B3 #97ABF7
square
#F797DB #F7E397 #97F7B3 #97ABF7
split-complementary
#F797DB #ABF797 #97F7E3
monochromatic
#EE25B4 #F35EC7 #F797DB #FBD0EF #FDE3F5

Accessibility & contrast

On white

2.02
#F797DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#F797DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F797DB
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F797DB#FFFFFF#000000##000000
##F797DB1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AADDD
Deuteranopia (green-blind)
#B2BCD8
Tritanopia (blue-blind)
#FF99B0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #f797db;
/* rgb */ color: rgb(247, 151, 219);
/* oklch */ color: oklch(79.6% 0.142 338.6);
Tailwind
colors: {
  custom: {
    50: '#fbb7e6',
    500: '#f797db',
    950: '#000000',
  },
}
SCSS
$custom: #f797db;
$custom-light: #fbb7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f797db",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 317.5,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.79566,
    "c": 0.14161,
    "h": 338.6
  },
  "luminance": 0.47022
}

Semantic roles & 50–950 ramp

primary
#F797DB
secondary
#D6F5DF
accent
#E24403
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F797DB

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

Preview Lab → · Contrast checker → · Palette generator →

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