#F897E3#F897E3

#F897E3 is a light, vivid pink. Relative luminance 0.476; OKLCH L 80.0% C 0.149 H 335.3°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#F897E3
RGBrgb(248, 151, 227)
HSLhsl(313, 87%, 78%)
HSVhsv(313, 39%, 97%)
CMYKcmyk(0%, 39.1%, 8.5%, 2.7%)
CIE-LABlab(74.60, 46.93, -23.14)
CIE-LCHlch(74.60, 52.32, 333.76°)
OKLaboklab(79.98% 0.1351 -0.0622)
OKLCHoklch(79.98% 0.149 335.3)
XYZxyz(63.6429, 47.6392, 78.5012)
Luminance0.4764 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F897E3 #97F8AC
analogous
#DC97F8 #F897E3 #F897B2
triadic
#F897E3 #E3F897 #97E3F8
tetradic
#F897E3 #F8DC97 #97F8AC #97B2F8
square
#F897E3 #F8DC97 #97F8AC #97B2F8
split-complementary
#F897E3 #B2F897 #97F8DC
monochromatic
#F024C4 #F45ED4 #F897E3 #FCD0F2 #FDE2F7

Accessibility & contrast

On white

1.99
#F897E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#F897E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F897E3
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F897E3#FFFFFF#000000##000000
##F897E31.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AFE6
Deuteranopia (green-blind)
#B0BDE0
Tritanopia (blue-blind)
#FF9BB3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f897e3;
/* rgb */ color: rgb(248, 151, 227);
/* oklch */ color: oklch(80.0% 0.149 335.3);
Tailwind
colors: {
  custom: {
    50: '#fcb7ec',
    500: '#f897e3',
    950: '#000000',
  },
}
SCSS
$custom: #f897e3;
$custom-light: #fcb7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f897e3",
  "rgb": {
    "r": 248,
    "g": 151,
    "b": 227
  },
  "hsl": {
    "h": 312.99,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.79977,
    "c": 0.1487,
    "h": 335.3
  },
  "luminance": 0.47636
}

Semantic roles & 50–950 ramp

primary
#F897E3
secondary
#D6F5DD
accent
#E43302
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #F897E3

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

Preview Lab → · Contrast checker → · Palette generator →

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