#F798A7#F798A7

#F798A7 is a light, moderate red. Relative luminance 0.450; OKLCH L 78.1% C 0.115 H 9.8°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#F798A7
RGBrgb(247, 152, 167)
HSLhsl(351, 86%, 78%)
HSVhsv(351, 38%, 97%)
CMYKcmyk(0%, 38.5%, 32.4%, 3.1%)
CIE-LABlab(72.91, 37.34, 7.40)
CIE-LCHlch(72.91, 38.07, 11.21°)
OKLaboklab(78.08% 0.1132 0.0197)
OKLCHoklch(78.08% 0.115 9.8)
XYZxyz(56.5631, 45.0250, 42.2633)
Luminance0.4502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798A7 #98F7E8
analogous
#F798D7 #F798A7 #F7B898
triadic
#F798A7 #A7F798 #98A7F7
tetradic
#F798A7 #D7F798 #98F7E8 #B898F7
square
#F798A7 #D7F798 #98F7E8 #B898F7
split-complementary
#F798A7 #98F7B8 #98D7F7
monochromatic
#EE2646 #F35F76 #F798A7 #FBD1D8 #FDE3E7

Accessibility & contrast

On white

2.10
#F798A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#F798A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798A7
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798A7#FFFFFF#000000##000000
##F798A71.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8A8A7
Deuteranopia (green-blind)
#BFBAA5
Tritanopia (blue-blind)
#FF8F9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f798a7;
/* rgb */ color: rgb(247, 152, 167);
/* oklch */ color: oklch(78.1% 0.115 9.8);
Tailwind
colors: {
  custom: {
    50: '#fcb7c1',
    500: '#f798a7',
    950: '#000000',
  },
}
SCSS
$custom: #f798a7;
$custom-light: #fcb7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f798a7",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 167
  },
  "hsl": {
    "h": 350.526,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78084,
    "c": 0.11492,
    "h": 9.8
  },
  "luminance": 0.45021
}

Semantic roles & 50–950 ramp

primary
#F798A7
secondary
#D6F5F0
accent
#E2BF03
background
#FFFBFB
surface
#FFF6F7
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #F798A7

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

Preview Lab → · Contrast checker → · Palette generator →

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