#F997DF#F997DF

#F997DF is a light, vivid pink. Relative luminance 0.476; OKLCH L 79.9% C 0.146 H 337.4°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#F997DF
RGBrgb(249, 151, 223)
HSLhsl(316, 89%, 78%)
HSVhsv(316, 39%, 98%)
CMYKcmyk(0%, 39.4%, 10.4%, 2.4%)
CIE-LABlab(74.57, 46.58, -20.97)
CIE-LCHlch(74.57, 51.09, 335.76°)
OKLaboklab(79.94% 0.1351 -0.0562)
OKLCHoklch(79.94% 0.146 337.4)
XYZxyz(63.4528, 47.6042, 75.6441)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F997DF #97F9B1
analogous
#E297F9 #F997DF #F997AE
triadic
#F997DF #DFF997 #97DFF9
tetradic
#F997DF #F9E297 #97F9B1 #97AEF9
square
#F997DF #F9E297 #97F9B1 #97AEF9
split-complementary
#F997DF #AEF997 #97F9E2
monochromatic
#F223BB #F65DCD #F997DF #FCD1F1 #FDE2F6

Accessibility & contrast

On white

2.00
#F997DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#F997DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F997DF
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F997DF#FFFFFF#000000##000000
##F997DF1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AEE2
Deuteranopia (green-blind)
#B2BDDC
Tritanopia (blue-blind)
#FF9AB2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f997df;
/* rgb */ color: rgb(249, 151, 223);
/* oklch */ color: oklch(79.9% 0.146 337.4);
Tailwind
colors: {
  custom: {
    50: '#fdb7e9',
    500: '#f997df',
    950: '#000000',
  },
}
SCSS
$custom: #f997df;
$custom-light: #fdb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f997df",
  "rgb": {
    "r": 249,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 315.918,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79939,
    "c": 0.14631,
    "h": 337.4
  },
  "luminance": 0.47601
}

Semantic roles & 50–950 ramp

primary
#F997DF
secondary
#D6F5DE
accent
#E63D00
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F997DF

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

Preview Lab → · Contrast checker → · Palette generator →

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