#F798DF#F798DF

#F798DF is a light, vivid pink. Relative luminance 0.476; OKLCH L 79.9% C 0.143 H 336.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#F798DF
RGBrgb(247, 152, 223)
HSLhsl(315, 86%, 78%)
HSVhsv(315, 38%, 97%)
CMYKcmyk(0%, 38.5%, 9.7%, 3.1%)
CIE-LABlab(74.55, 45.44, -21.03)
CIE-LCHlch(74.55, 50.07, 335.16°)
OKLaboklab(79.87% 0.1314 -0.0564)
OKLCHoklch(79.87% 0.143 336.8)
XYZxyz(62.9052, 47.5618, 75.6647)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798DF #98F7B0
analogous
#DF98F7 #F798DF #F798AF
triadic
#F798DF #DFF798 #98DFF7
tetradic
#F798DF #F7DF98 #98F7B0 #98AFF7
square
#F798DF #F7DF98 #98F7B0 #98AFF7
split-complementary
#F798DF #AFF798 #98F7DF
monochromatic
#EE26BC #F35FCD #F798DF #FBD1F1 #FDE3F6

Accessibility & contrast

On white

2.00
#F798DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#F798DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798DF
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798DF#FFFFFF#000000##000000
##F798DF1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAFE2
Deuteranopia (green-blind)
#B2BDDC
Tritanopia (blue-blind)
#FF9BB2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f798df;
/* rgb */ color: rgb(247, 152, 223);
/* oklch */ color: oklch(79.9% 0.143 336.8);
Tailwind
colors: {
  custom: {
    50: '#fbb8e9',
    500: '#f798df',
    950: '#000000',
  },
}
SCSS
$custom: #f798df;
$custom-light: #fbb8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f798df",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 315.158,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79869,
    "c": 0.14301,
    "h": 336.8
  },
  "luminance": 0.47558
}

Semantic roles & 50–950 ramp

primary
#F798DF
secondary
#D6F5DE
accent
#E23C03
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F798DF

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

Preview Lab → · Contrast checker → · Palette generator →

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