#F798E2#F798E2

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

Color values

HEX#F798E2
RGBrgb(247, 152, 226)
HSLhsl(313, 86%, 78%)
HSVhsv(313, 38%, 97%)
CMYKcmyk(0%, 38.5%, 8.5%, 3.1%)
CIE-LABlab(74.65, 45.93, -22.52)
CIE-LCHlch(74.65, 51.16, 333.89°)
OKLaboklab(79.98% 0.1322 -0.0605)
OKLCHoklch(79.98% 0.145 335.4)
XYZxyz(63.3132, 47.7250, 77.8137)
Luminance0.4772 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798E2 #98F7AD
analogous
#DC98F7 #F798E2 #F798B2
triadic
#F798E2 #E2F798 #98E2F7
tetradic
#F798E2 #F7DC98 #98F7AD #98B2F7
square
#F798E2 #F7DC98 #98F7AD #98B2F7
split-complementary
#F798E2 #B2F798 #98F7DC
monochromatic
#EE26C2 #F35FD2 #F798E2 #FBD1F2 #FDE3F7

Accessibility & contrast

On white

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

On black

10.54
#F798E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798E2
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798E2#FFFFFF#000000##000000
##F798E21.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f798e2;
/* rgb */ color: rgb(247, 152, 226);
/* oklch */ color: oklch(80.0% 0.145 335.4);
Tailwind
colors: {
  custom: {
    50: '#fbb8eb',
    500: '#f798e2',
    950: '#000000',
  },
}
SCSS
$custom: #f798e2;
$custom-light: #fbb8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f798e2",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 313.263,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79981,
    "c": 0.14542,
    "h": 335.4
  },
  "luminance": 0.47722
}

Semantic roles & 50–950 ramp

primary
#F798E2
secondary
#D6F5DD
accent
#E23503
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798E2

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

Preview Lab → · Contrast checker → · Palette generator →

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