#F798B2#F798B2

#F798B2 is a light, moderate pink. Relative luminance 0.454; OKLCH L 78.4% C 0.117 H 2.5°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#F798B2
RGBrgb(247, 152, 178)
HSLhsl(344, 86%, 78%)
HSVhsv(344, 38%, 97%)
CMYKcmyk(0%, 38.5%, 27.9%, 3.1%)
CIE-LABlab(73.19, 38.75, 1.72)
CIE-LCHlch(73.19, 38.79, 2.53°)
OKLaboklab(78.39% 0.1172 0.005)
OKLCHoklch(78.39% 0.117 2.5)
XYZxyz(57.6236, 45.4491, 47.8484)
Luminance0.4545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798B2 #98F7DD
analogous
#F798E1 #F798B2 #F7AD98
triadic
#F798B2 #B2F798 #98B2F7
tetradic
#F798B2 #E1F798 #98F7DD #AD98F7
square
#F798B2 #E1F798 #98F7DD #AD98F7
split-complementary
#F798B2 #98F7AD #98E1F7
monochromatic
#EE265D #F35F88 #F798B2 #FBD1DC #FDE3EA

Accessibility & contrast

On white

2.08
#F798B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#F798B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798B2
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798B2#FFFFFF#000000##000000
##F798B21.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A9B3
Deuteranopia (green-blind)
#BDBAB0
Tritanopia (blue-blind)
#FF91A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f798b2;
/* rgb */ color: rgb(247, 152, 178);
/* oklch */ color: oklch(78.4% 0.117 2.5);
Tailwind
colors: {
  custom: {
    50: '#fcb7c9',
    500: '#f798b2',
    950: '#000000',
  },
}
SCSS
$custom: #f798b2;
$custom-light: #fcb7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f798b2",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 178
  },
  "hsl": {
    "h": 343.579,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78388,
    "c": 0.11733,
    "h": 2.5
  },
  "luminance": 0.45445
}

Semantic roles & 50–950 ramp

primary
#F798B2
secondary
#D6F5EC
accent
#E2A503
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#181113
muted
#868082

Preview Lab

Preview with #F798B2

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

Preview Lab → · Contrast checker → · Palette generator →

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