#F798B3#F798B3

#F798B3 is a light, moderate pink. Relative luminance 0.455; OKLCH L 78.4% C 0.118 H 1.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#F798B3
RGBrgb(247, 152, 179)
HSLhsl(343, 86%, 78%)
HSVhsv(343, 38%, 97%)
CMYKcmyk(0%, 38.5%, 27.5%, 3.1%)
CIE-LABlab(73.21, 38.89, 1.20)
CIE-LCHlch(73.21, 38.91, 1.77°)
OKLaboklab(78.42% 0.1176 0.0037)
OKLCHoklch(78.42% 0.118 1.8)
XYZxyz(57.7244, 45.4895, 48.3791)
Luminance0.4548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798B3 #98F7DC
analogous
#F798E3 #F798B3 #F7AC98
triadic
#F798B3 #B3F798 #98B3F7
tetradic
#F798B3 #E3F798 #98F7DC #AC98F7
square
#F798B3 #E3F798 #98F7DC #AC98F7
split-complementary
#F798B3 #98F7AC #98E3F7
monochromatic
#EE265F #F35F89 #F798B3 #FBD1DD #FDE3EA

Accessibility & contrast

On white

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

On black

10.10
#F798B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798B3
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798B3#FFFFFF#000000##000000
##F798B31.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6A9B4
Deuteranopia (green-blind)
#BDBAB1
Tritanopia (blue-blind)
#FF92A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f798b3;
/* rgb */ color: rgb(247, 152, 179);
/* oklch */ color: oklch(78.4% 0.118 1.8);
Tailwind
colors: {
  custom: {
    50: '#fcb7c9',
    500: '#f798b3',
    950: '#000000',
  },
}
SCSS
$custom: #f798b3;
$custom-light: #fcb7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f798b3",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 179
  },
  "hsl": {
    "h": 342.947,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78416,
    "c": 0.11763,
    "h": 1.8
  },
  "luminance": 0.45485
}

Semantic roles & 50–950 ramp

primary
#F798B3
secondary
#D6F5EC
accent
#E2A303
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#181113
muted
#868082

Preview Lab

Preview with #F798B3

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

Preview Lab → · Contrast checker → · Palette generator →

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