#F97EB2#F97EB2

#F97EB2 is a light, vivid pink. Relative luminance 0.383; OKLCH L 74.7% C 0.160 H 355.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#F97EB2
RGBrgb(249, 126, 178)
HSLhsl(335, 91%, 74%)
HSVhsv(335, 49%, 98%)
CMYKcmyk(0%, 49.4%, 28.5%, 2.4%)
CIE-LABlab(68.23, 52.51, -5.53)
CIE-LCHlch(68.23, 52.80, 353.99°)
OKLaboklab(74.69% 0.159 -0.0139)
OKLCHoklch(74.69% 0.16 355)
XYZxyz(54.5657, 38.2806, 46.6259)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97EB2 #7EF9C5
analogous
#F97EEF #F97EB2 #F9877E
triadic
#F97EB2 #B2F97E #7EB2F9
tetradic
#F97EB2 #EFF97E #7EF9C5 #877EF9
square
#F97EB2 #EFF97E #7EF9C5 #877EF9
split-complementary
#F97EB2 #7EF987 #7EEFF9
monochromatic
#F10B6D #F6448F #F97EB2 #FCB8D5 #FEE2EE

Accessibility & contrast

On white

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

On black

8.66
#F97EB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97EB2
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97EB2#FFFFFF#000000##000000
##F97EB21.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F99B4
Deuteranopia (green-blind)
#AFAFAF
Tritanopia (blue-blind)
#FF7791
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f97eb2;
/* rgb */ color: rgb(249, 126, 178);
/* oklch */ color: oklch(74.7% 0.160 355.0);
Tailwind
colors: {
  custom: {
    50: '#fea7c9',
    500: '#f97eb2',
    950: '#000000',
  },
}
SCSS
$custom: #f97eb2;
$custom-light: #fea7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f97eb2",
  "rgb": {
    "r": 249,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 334.634,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74686,
    "c": 0.15959,
    "h": 355
  },
  "luminance": 0.38276
}

Semantic roles & 50–950 ramp

primary
#F97EB2
secondary
#D5F6E8
accent
#E68400
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #F97EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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