#F798DB#F798DB

#F798DB is a light, vivid pink. Relative luminance 0.473; OKLCH L 79.7% C 0.140 H 338.7°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#F798DB
RGBrgb(247, 152, 219)
HSLhsl(318, 86%, 78%)
HSVhsv(318, 38%, 97%)
CMYKcmyk(0%, 38.5%, 11.3%, 3.1%)
CIE-LABlab(74.41, 44.79, -19.05)
CIE-LCHlch(74.41, 48.67, 336.96°)
OKLaboklab(79.72% 0.1303 -0.0509)
OKLCHoklch(79.72% 0.14 338.7)
XYZxyz(62.3723, 47.3486, 72.8580)
Luminance0.4734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798DB #98F7B4
analogous
#E398F7 #F798DB #F798AB
triadic
#F798DB #DBF798 #98DBF7
tetradic
#F798DB #F7E398 #98F7B4 #98ABF7
square
#F798DB #F7E398 #98F7B4 #98ABF7
split-complementary
#F798DB #ABF798 #98F7E3
monochromatic
#EE26B3 #F35FC7 #F798DB #FBD1EF #FDE3F5

Accessibility & contrast

On white

2.01
#F798DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#F798DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798DB
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798DB#FFFFFF#000000##000000
##F798DB1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAEDD
Deuteranopia (green-blind)
#B3BCD8
Tritanopia (blue-blind)
#FF9AB0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f798db;
/* rgb */ color: rgb(247, 152, 219);
/* oklch */ color: oklch(79.7% 0.140 338.7);
Tailwind
colors: {
  custom: {
    50: '#fbb8e6',
    500: '#f798db',
    950: '#000000',
  },
}
SCSS
$custom: #f798db;
$custom-light: #fbb8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f798db",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 317.684,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79722,
    "c": 0.13991,
    "h": 338.7
  },
  "luminance": 0.47345
}

Semantic roles & 50–950 ramp

primary
#F798DB
secondary
#D6F5DF
accent
#E24503
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798DB

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

Preview Lab → · Contrast checker → · Palette generator →

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