#F797AF#F797AF

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

Color values

HEX#F797AF
RGBrgb(247, 151, 175)
HSLhsl(345, 86%, 78%)
HSVhsv(345, 39%, 97%)
CMYKcmyk(0%, 38.9%, 29.1%, 3.1%)
CIE-LABlab(72.90, 38.88, 2.95)
CIE-LCHlch(72.90, 38.99, 4.35°)
OKLaboklab(78.14% 0.1177 0.0082)
OKLCHoklch(78.14% 0.118 4)
XYZxyz(57.1641, 45.0067, 46.2255)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F797AF #97F7DF
analogous
#F797DF #F797AF #F7AF97
triadic
#F797AF #AFF797 #97AFF7
tetradic
#F797AF #DFF797 #97F7DF #AF97F7
square
#F797AF #DFF797 #97F7DF #AF97F7
split-complementary
#F797AF #97F7AF #97DFF7
monochromatic
#EE2558 #F35E83 #F797AF #FBD0DB #FDE3E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F797AF#FFFFFF#000000##000000
##F797AF1.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)
#A6A8B0
Deuteranopia (green-blind)
#BDBAAD
Tritanopia (blue-blind)
#FF909F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f797af;
/* rgb */ color: rgb(247, 151, 175);
/* oklch */ color: oklch(78.1% 0.118 4.0);
Tailwind
colors: {
  custom: {
    50: '#fcb7c6',
    500: '#f797af',
    950: '#000000',
  },
}
SCSS
$custom: #f797af;
$custom-light: #fcb7c6;
$custom-dark: #000000;
JSON
{
  "hex": "#f797af",
  "rgb": {
    "r": 247,
    "g": 151,
    "b": 175
  },
  "hsl": {
    "h": 345,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78141,
    "c": 0.11799,
    "h": 4
  },
  "luminance": 0.45003
}

Semantic roles & 50–950 ramp

primary
#F797AF
secondary
#D6F5ED
accent
#E2AA03
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#181113
muted
#868082

Preview Lab

Preview with #F797AF

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

Preview Lab → · Contrast checker → · Palette generator →

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