#F798A2#F798A2

#F798A2 is a light, moderate red. Relative luminance 0.448; OKLCH L 78.0% C 0.114 H 13.2°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#F798A2
RGBrgb(247, 152, 162)
HSLhsl(354, 86%, 78%)
HSVhsv(354, 38%, 97%)
CMYKcmyk(0%, 38.5%, 34.4%, 3.1%)
CIE-LABlab(72.79, 36.73, 9.99)
CIE-LCHlch(72.79, 38.06, 15.22°)
OKLaboklab(77.95% 0.1114 0.0262)
OKLCHoklch(77.95% 0.114 13.2)
XYZxyz(56.1098, 44.8436, 39.8759)
Luminance0.4484 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F798A2 #98F7ED
analogous
#F798D1 #F798A2 #F7BD98
triadic
#F798A2 #A2F798 #98A2F7
tetradic
#F798A2 #D1F798 #98F7ED #BD98F7
square
#F798A2 #D1F798 #98F7ED #BD98F7
split-complementary
#F798A2 #98F7BD #98D1F7
monochromatic
#EE263B #F35F6F #F798A2 #FBD1D5 #FDE3E5

Accessibility & contrast

On white

2.11
#F798A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#F798A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F798A2
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F798A2#FFFFFF#000000##000000
##F798A21.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9A8A2
Deuteranopia (green-blind)
#C0BAA0
Tritanopia (blue-blind)
#FF8F9C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f798a2;
/* rgb */ color: rgb(247, 152, 162);
/* oklch */ color: oklch(78.0% 0.114 13.2);
Tailwind
colors: {
  custom: {
    50: '#fcb7bd',
    500: '#f798a2',
    950: '#000000',
  },
}
SCSS
$custom: #f798a2;
$custom-light: #fcb7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f798a2",
  "rgb": {
    "r": 247,
    "g": 152,
    "b": 162
  },
  "hsl": {
    "h": 353.684,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77953,
    "c": 0.11441,
    "h": 13.2
  },
  "luminance": 0.44839
}

Semantic roles & 50–950 ramp

primary
#F798A2
secondary
#D6F5F2
accent
#E2CB03
background
#FFFBFB
surface
#FFF6F6
border
#D7D0D0
text
#181112
muted
#868081

Preview Lab

Preview with #F798A2

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

Preview Lab → · Contrast checker → · Palette generator →

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