#F798BF#F798BF

#F798BF is a light, vivid pink. Relative luminance 0.460; OKLCH L 78.8% C 0.122 H 354.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#F798BF
RGBrgb(247, 152, 191)
HSLhsl(335, 86%, 78%)
HSVhsv(335, 38%, 97%)
CMYKcmyk(0%, 38.5%, 22.7%, 3.1%)
CIE-LABlab(73.54, 40.54, -4.95)
CIE-LCHlch(73.54, 40.84, 353.04°)
OKLaboklab(78.78% 0.1217 -0.0125)
OKLCHoklch(78.78% 0.122 354.1)
XYZxyz(58.9912, 45.9962, 55.0512)
Luminance0.4599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798BF #98F7D0
analogous
#F798EF #F798BF #F7A098
triadic
#F798BF #BFF798 #98BFF7
tetradic
#F798BF #EFF798 #98F7D0 #A098F7
square
#F798BF #EFF798 #98F7D0 #A098F7
split-complementary
#F798BF #98F7A0 #98EFF7
monochromatic
#EE2678 #F35F9C #F798BF #FBD1E2 #FDE3ED

Accessibility & contrast

On white

2.06
#F798BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#F798BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798BF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798BF#FFFFFF#000000##000000
##F798BF1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3ABC0
Deuteranopia (green-blind)
#BABBBD
Tritanopia (blue-blind)
#FF94A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #f798bf;
/* rgb */ color: rgb(247, 152, 191);
/* oklch */ color: oklch(78.8% 0.122 354.1);
Tailwind
colors: {
  custom: {
    50: '#fbb8d2',
    500: '#f798bf',
    950: '#000000',
  },
}
SCSS
$custom: #f798bf;
$custom-light: #fbb8d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f798bf",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 335.368,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78776,
    "c": 0.12234,
    "h": 354.1
  },
  "luminance": 0.45992
}

Semantic roles & 50–950 ramp

primary
#F798BF
secondary
#D6F5E8
accent
#E28703
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#181114
muted
#868082

Preview Lab

Preview with #F798BF

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

Preview Lab → · Contrast checker → · Palette generator →

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