#F97FAB#F97FAB

#F97FAB is a light, vivid pink. Relative luminance 0.383; OKLCH L 74.6% C 0.155 H 358.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#F97FAB
RGBrgb(249, 127, 171)
HSLhsl(338, 91%, 74%)
HSVhsv(338, 49%, 98%)
CMYKcmyk(0%, 49%, 31.3%, 2.4%)
CIE-LABlab(68.21, 51.15, -1.61)
CIE-LCHlch(68.21, 51.17, 358.20°)
OKLaboklab(74.61% 0.1552 -0.0035)
OKLCHoklch(74.61% 0.155 358.7)
XYZxyz(54.0093, 38.2636, 43.0613)
Luminance0.3826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FAB #7FF9CD
analogous
#F97FE8 #F97FAB #F9907F
triadic
#F97FAB #ABF97F #7FABF9
tetradic
#F97FAB #E8F97F #7FF9CD #907FF9
square
#F97FAB #E8F97F #7FF9CD #907FF9
split-complementary
#F97FAB #7FF990 #7FE8F9
monochromatic
#F20B5F #F64585 #F97FAB #FCB9D1 #FEE2EC

Accessibility & contrast

On white

2.43
#F97FAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#F97FAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FAB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FAB#FFFFFF#000000##000000
##F97FAB1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9198AC
Deuteranopia (green-blind)
#B1AFA8
Tritanopia (blue-blind)
#FF778F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f97fab;
/* rgb */ color: rgb(249, 127, 171);
/* oklch */ color: oklch(74.6% 0.155 358.7);
Tailwind
colors: {
  custom: {
    50: '#fea7c3',
    500: '#f97fab',
    950: '#000000',
  },
}
SCSS
$custom: #f97fab;
$custom-light: #fea7c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fab",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 338.361,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74611,
    "c": 0.15524,
    "h": 358.7
  },
  "luminance": 0.38259
}

Semantic roles & 50–950 ramp

primary
#F97FAB
secondary
#D5F6EA
accent
#E69300
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #F97FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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