#F798E1#F798E1

#F798E1 is a light, vivid pink. Relative luminance 0.477; OKLCH L 79.9% C 0.145 H 335.9°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#F798E1
RGBrgb(247, 152, 225)
HSLhsl(314, 86%, 78%)
HSVhsv(314, 38%, 97%)
CMYKcmyk(0%, 38.5%, 8.9%, 3.1%)
CIE-LABlab(74.62, 45.77, -22.02)
CIE-LCHlch(74.62, 50.79, 334.30°)
OKLaboklab(79.94% 0.132 -0.0591)
OKLCHoklch(79.94% 0.145 335.9)
XYZxyz(63.1764, 47.6703, 77.0932)
Luminance0.4767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798E1 #98F7AE
analogous
#DE98F7 #F798E1 #F798B1
triadic
#F798E1 #E1F798 #98E1F7
tetradic
#F798E1 #F7DE98 #98F7AE #98B1F7
square
#F798E1 #F7DE98 #98F7AE #98B1F7
split-complementary
#F798E1 #B1F798 #98F7DE
monochromatic
#EE26C0 #F35FD0 #F798E1 #FBD1F2 #FDE3F7

Accessibility & contrast

On white

1.99
#F798E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#F798E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798E1
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798E1#FFFFFF#000000##000000
##F798E11.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AFE4
Deuteranopia (green-blind)
#B1BDDE
Tritanopia (blue-blind)
#FF9CB3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #f798e1;
/* rgb */ color: rgb(247, 152, 225);
/* oklch */ color: oklch(79.9% 0.145 335.9);
Tailwind
colors: {
  custom: {
    50: '#fbb8ea',
    500: '#f798e1',
    950: '#000000',
  },
}
SCSS
$custom: #f798e1;
$custom-light: #fbb8ea;
$custom-dark: #000000;
JSON
{
  "hex": "#f798e1",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 225
  },
  "hsl": {
    "h": 313.895,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79943,
    "c": 0.14461,
    "h": 335.9
  },
  "luminance": 0.47667
}

Semantic roles & 50–950 ramp

primary
#F798E1
secondary
#D6F5DD
accent
#E23703
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798E1

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

Preview Lab → · Contrast checker → · Palette generator →

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