#F897DD#F897DD

#F897DD is a light, vivid pink. Relative luminance 0.473; OKLCH L 79.8% C 0.144 H 338.0°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#F897DD
RGBrgb(248, 151, 221)
HSLhsl(317, 87%, 78%)
HSVhsv(317, 39%, 97%)
CMYKcmyk(0%, 39.1%, 10.9%, 2.7%)
CIE-LABlab(74.39, 45.94, -20.17)
CIE-LCHlch(74.39, 50.18, 336.30°)
OKLaboklab(79.75% 0.1335 -0.0539)
OKLCHoklch(79.75% 0.144 338)
XYZxyz(62.8292, 47.3137, 74.2157)
Luminance0.4731 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F897DD #97F8B2
analogous
#E297F8 #F897DD #F897AC
triadic
#F897DD #DDF897 #97DDF8
tetradic
#F897DD #F8E297 #97F8B2 #97ACF8
square
#F897DD #F8E297 #97F8B2 #97ACF8
split-complementary
#F897DD #ACF897 #97F8E2
monochromatic
#F024B8 #F45ECA #F897DD #FCD0F0 #FDE2F6

Accessibility & contrast

On white

2.01
#F897DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#F897DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F897DD
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F897DD#FFFFFF#000000##000000
##F897DD1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AEE0
Deuteranopia (green-blind)
#B2BCDA
Tritanopia (blue-blind)
#FF9AB1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f897dd;
/* rgb */ color: rgb(248, 151, 221);
/* oklch */ color: oklch(79.8% 0.144 338.0);
Tailwind
colors: {
  custom: {
    50: '#fcb7e7',
    500: '#f897dd',
    950: '#000000',
  },
}
SCSS
$custom: #f897dd;
$custom-light: #fcb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f897dd",
  "rgb": {
    "r": 248,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 316.701,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79752,
    "c": 0.14395,
    "h": 338
  },
  "luminance": 0.4731
}

Semantic roles & 50–950 ramp

primary
#F897DD
secondary
#D6F5DF
accent
#E44102
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F897DD

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

Preview Lab → · Contrast checker → · Palette generator →

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