#F798DA#F798DA

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

Color values

HEX#F798DA
RGBrgb(247, 152, 218)
HSLhsl(318, 86%, 78%)
HSVhsv(318, 38%, 97%)
CMYKcmyk(0%, 38.5%, 11.7%, 3.1%)
CIE-LABlab(74.38, 44.63, -18.55)
CIE-LCHlch(74.38, 48.33, 337.43°)
OKLaboklab(79.69% 0.1301 -0.0495)
OKLCHoklch(79.69% 0.139 339.2)
XYZxyz(62.2410, 47.2961, 72.1668)
Luminance0.4729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798DA #98F7B5
analogous
#E598F7 #F798DA #F798AA
triadic
#F798DA #DAF798 #98DAF7
tetradic
#F798DA #F7E598 #98F7B5 #98AAF7
square
#F798DA #F7E598 #98F7B5 #98AAF7
split-complementary
#F798DA #AAF798 #98F7E5
monochromatic
#EE26B1 #F35FC6 #F798DA #FBD1EE #FDE3F5

Accessibility & contrast

On white

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

On black

10.46
#F798DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798DA
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798DA#FFFFFF#000000##000000
##F798DA1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f798da;
/* rgb */ color: rgb(247, 152, 218);
/* oklch */ color: oklch(79.7% 0.139 339.2);
Tailwind
colors: {
  custom: {
    50: '#fbb8e5',
    500: '#f798da',
    950: '#000000',
  },
}
SCSS
$custom: #f798da;
$custom-light: #fbb8e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f798da",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 218
  },
  "hsl": {
    "h": 318.316,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79686,
    "c": 0.13915,
    "h": 339.2
  },
  "luminance": 0.47293
}

Semantic roles & 50–950 ramp

primary
#F798DA
secondary
#D6F5E0
accent
#E24703
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181115
muted
#868084

Preview Lab

Preview with #F798DA

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

Preview Lab → · Contrast checker → · Palette generator →

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