#F97FB2#F97FB2

#F97FB2 is a light, vivid pink. Relative luminance 0.385; OKLCH L 74.8% C 0.158 H 355.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#F97FB2
RGBrgb(249, 127, 178)
HSLhsl(335, 91%, 74%)
HSVhsv(335, 49%, 98%)
CMYKcmyk(0%, 49%, 28.5%, 2.4%)
CIE-LABlab(68.42, 52.03, -5.25)
CIE-LCHlch(68.42, 52.29, 354.24°)
OKLaboklab(74.83% 0.1575 -0.0132)
OKLCHoklch(74.83% 0.158 355.2)
XYZxyz(54.6942, 38.5376, 46.6688)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F97FB2 #7FF9C6
analogous
#F97FEF #F97FB2 #F9897F
triadic
#F97FB2 #B2F97F #7FB2F9
tetradic
#F97FB2 #EFF97F #7FF9C6 #897FF9
square
#F97FB2 #EFF97F #7FF9C6 #897FF9
split-complementary
#F97FB2 #7FF989 #7FEFF9
monochromatic
#F20B6C #F6458F #F97FB2 #FCB9D5 #FEE2ED

Accessibility & contrast

On white

2.41
#F97FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#F97FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F97FB2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F97FB2#FFFFFF#000000##000000
##F97FB21.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f97fb2;
/* rgb */ color: rgb(249, 127, 178);
/* oklch */ color: oklch(74.8% 0.158 355.2);
Tailwind
colors: {
  custom: {
    50: '#fea7c9',
    500: '#f97fb2',
    950: '#000000',
  },
}
SCSS
$custom: #f97fb2;
$custom-light: #fea7c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f97fb2",
  "rgb": {
    "r": 249,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 334.918,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74828,
    "c": 0.15805,
    "h": 355.2
  },
  "luminance": 0.38533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F97FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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