#F897DC#F897DC

#F897DC is a light, vivid pink. Relative luminance 0.473; OKLCH L 79.7% C 0.143 H 338.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#F897DC
RGBrgb(248, 151, 220)
HSLhsl(317, 87%, 78%)
HSVhsv(317, 39%, 97%)
CMYKcmyk(0%, 39.1%, 11.3%, 2.7%)
CIE-LABlab(74.36, 45.78, -19.67)
CIE-LCHlch(74.36, 49.83, 336.75°)
OKLaboklab(79.72% 0.1332 -0.0526)
OKLCHoklch(79.72% 0.143 338.5)
XYZxyz(62.6964, 47.2606, 73.5161)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F897DC #97F8B3
analogous
#E497F8 #F897DC #F897AB
triadic
#F897DC #DCF897 #97DCF8
tetradic
#F897DC #F8E497 #97F8B3 #97ABF8
square
#F897DC #F8E497 #97F8B3 #97ABF8
split-complementary
#F897DC #ABF897 #97F8E4
monochromatic
#F024B5 #F45EC9 #F897DC #FCD0EF #FDE2F5

Accessibility & contrast

On white

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

On black

10.45
#F897DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F897DC
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F897DC#FFFFFF#000000##000000
##F897DC1.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAEDF
Deuteranopia (green-blind)
#B2BCD9
Tritanopia (blue-blind)
#FF99B0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f897dc;
/* rgb */ color: rgb(248, 151, 220);
/* oklch */ color: oklch(79.7% 0.143 338.5);
Tailwind
colors: {
  custom: {
    50: '#fcb7e7',
    500: '#f897dc',
    950: '#000000',
  },
}
SCSS
$custom: #f897dc;
$custom-light: #fcb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f897dc",
  "rgb": {
    "r": 248,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 317.32,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79716,
    "c": 0.14319,
    "h": 338.5
  },
  "luminance": 0.47257
}

Semantic roles & 50–950 ramp

primary
#F897DC
secondary
#D6F5DF
accent
#E44302
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F897DC

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

Preview Lab → · Contrast checker → · Palette generator →

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