#F898DD#F898DD

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

Color values

HEX#F898DD
RGBrgb(248, 152, 221)
HSLhsl(317, 87%, 78%)
HSVhsv(317, 39%, 97%)
CMYKcmyk(0%, 38.7%, 10.9%, 2.7%)
CIE-LABlab(74.60, 45.43, -19.86)
CIE-LCHlch(74.60, 49.58, 336.39°)
OKLaboklab(79.91% 0.132 -0.0531)
OKLCHoklch(79.91% 0.142 338.1)
XYZxyz(62.9908, 47.6369, 74.2696)
Luminance0.4763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F898DD #98F8B3
analogous
#E398F8 #F898DD #F898AD
triadic
#F898DD #DDF898 #98DDF8
tetradic
#F898DD #F8E398 #98F8B3 #98ADF8
square
#F898DD #F8E398 #98F8B3 #98ADF8
split-complementary
#F898DD #ADF898 #98F8E3
monochromatic
#F025B7 #F45FCA #F898DD #FCD1F0 #FDE2F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F898DD#FFFFFF#000000##000000
##F898DD1.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)
#9AAFE0
Deuteranopia (green-blind)
#B3BDDA
Tritanopia (blue-blind)
#FF9AB1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #f898dd;
/* rgb */ color: rgb(248, 152, 221);
/* oklch */ color: oklch(79.9% 0.142 338.1);
Tailwind
colors: {
  custom: {
    50: '#fcb8e7',
    500: '#f898dd',
    950: '#000000',
  },
}
SCSS
$custom: #f898dd;
$custom-light: #fcb8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f898dd",
  "rgb": {
    "r": 248,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 316.875,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.79907,
    "c": 0.14226,
    "h": 338.1
  },
  "luminance": 0.47633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F898DD

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

Preview Lab → · Contrast checker → · Palette generator →

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