#F798BC#F798BC

#F798BC is a light, vivid pink. Relative luminance 0.459; OKLCH L 78.7% C 0.121 H 356.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#F798BC
RGBrgb(247, 152, 188)
HSLhsl(337, 86%, 78%)
HSVhsv(337, 38%, 97%)
CMYKcmyk(0%, 38.5%, 23.9%, 3.1%)
CIE-LABlab(73.46, 40.12, -3.41)
CIE-LCHlch(73.46, 40.26, 355.14°)
OKLaboklab(78.68% 0.1207 -0.0085)
OKLCHoklch(78.68% 0.121 356)
XYZxyz(58.6645, 45.8655, 53.3303)
Luminance0.4586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798BC #98F7D3
analogous
#F798EC #F798BC #F7A398
triadic
#F798BC #BCF798 #98BCF7
tetradic
#F798BC #ECF798 #98F7D3 #A398F7
square
#F798BC #ECF798 #98F7D3 #A398F7
split-complementary
#F798BC #98F7A3 #98ECF7
monochromatic
#EE2672 #F35F97 #F798BC #FBD1E1 #FDE3ED

Accessibility & contrast

On white

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

On black

10.17
#F798BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798BC
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798BC#FFFFFF#000000##000000
##F798BC1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4AABD
Deuteranopia (green-blind)
#BBBBBA
Tritanopia (blue-blind)
#FF93A5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f798bc;
/* rgb */ color: rgb(247, 152, 188);
/* oklch */ color: oklch(78.7% 0.121 356.0);
Tailwind
colors: {
  custom: {
    50: '#fcb8d0',
    500: '#f798bc',
    950: '#000000',
  },
}
SCSS
$custom: #f798bc;
$custom-light: #fcb8d0;
$custom-dark: #000000;
JSON
{
  "hex": "#f798bc",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 337.263,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78684,
    "c": 0.12099,
    "h": 356
  },
  "luminance": 0.45861
}

Semantic roles & 50–950 ramp

primary
#F798BC
secondary
#D6F5E9
accent
#E28E03
background
#FFFBFC
surface
#FFF6F9
border
#D7D0D2
text
#181114
muted
#868082

Preview Lab

Preview with #F798BC

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

Preview Lab → · Contrast checker → · Palette generator →

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