#F897DF#F897DF

#F897DF is a light, vivid pink. Relative luminance 0.474; OKLCH L 79.8% C 0.146 H 337.1°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#F897DF
RGBrgb(248, 151, 223)
HSLhsl(315, 87%, 78%)
HSVhsv(315, 39%, 97%)
CMYKcmyk(0%, 39.1%, 10.1%, 2.7%)
CIE-LABlab(74.46, 46.27, -21.16)
CIE-LCHlch(74.46, 50.88, 335.43°)
OKLaboklab(79.83% 0.134 -0.0567)
OKLCHoklch(79.83% 0.146 337.1)
XYZxyz(63.0972, 47.4209, 75.6274)
Luminance0.4742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F897DF #97F8B0
analogous
#E097F8 #F897DF #F897AE
triadic
#F897DF #DFF897 #97DFF8
tetradic
#F897DF #F8E097 #97F8B0 #97AEF8
square
#F897DF #F8E097 #97F8B0 #97AEF8
split-complementary
#F897DF #AEF897 #97F8E0
monochromatic
#F024BC #F45ECD #F897DF #FCD0F1 #FDE2F6

Accessibility & contrast

On white

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

On black

10.48
#F897DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F897DF
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F897DF#FFFFFF#000000##000000
##F897DF1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.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: #f897df;
/* rgb */ color: rgb(248, 151, 223);
/* oklch */ color: oklch(79.8% 0.146 337.1);
Tailwind
colors: {
  custom: {
    50: '#fcb7e9',
    500: '#f897df',
    950: '#000000',
  },
}
SCSS
$custom: #f897df;
$custom-light: #fcb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f897df",
  "rgb": {
    "r": 248,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 315.464,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79826,
    "c": 0.14551,
    "h": 337.1
  },
  "luminance": 0.47417
}

Semantic roles & 50–950 ramp

primary
#F897DF
secondary
#D6F5DE
accent
#E43C02
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F897DF

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

Preview Lab → · Contrast checker → · Palette generator →

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