#F798C0#F798C0

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

Color values

HEX#F798C0
RGBrgb(247, 152, 192)
HSLhsl(335, 86%, 78%)
HSVhsv(335, 38%, 97%)
CMYKcmyk(0%, 38.5%, 22.3%, 3.1%)
CIE-LABlab(73.57, 40.68, -5.46)
CIE-LCHlch(73.57, 41.05, 352.36°)
OKLaboklab(78.81% 0.122 -0.0139)
OKLCHoklch(78.81% 0.123 353.5)
XYZxyz(59.1016, 46.0404, 55.6327)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798C0 #98F7CF
analogous
#F798EF #F798C0 #F79F98
triadic
#F798C0 #C0F798 #98C0F7
tetradic
#F798C0 #EFF798 #98F7CF #9F98F7
square
#F798C0 #EFF798 #98F7CF #9F98F7
split-complementary
#F798C0 #98F79F #98EFF7
monochromatic
#EE267B #F35F9D #F798C0 #FBD1E3 #FDE3EE

Accessibility & contrast

On white

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

On black

10.21
#F798C0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798C0
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798C0#FFFFFF#000000##000000
##F798C01.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f798c0;
/* rgb */ color: rgb(247, 152, 192);
/* oklch */ color: oklch(78.8% 0.123 353.5);
Tailwind
colors: {
  custom: {
    50: '#fbb8d3',
    500: '#f798c0',
    950: '#000000',
  },
}
SCSS
$custom: #f798c0;
$custom-light: #fbb8d3;
$custom-dark: #000000;
JSON
{
  "hex": "#f798c0",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 192
  },
  "hsl": {
    "h": 334.737,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78808,
    "c": 0.12282,
    "h": 353.5
  },
  "luminance": 0.46036
}

Semantic roles & 50–950 ramp

primary
#F798C0
secondary
#D6F5E8
accent
#E28403
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#181114
muted
#868082

Preview Lab

Preview with #F798C0

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

Preview Lab → · Contrast checker → · Palette generator →

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