#FA98E7#FA98E7

#FA98E7 is a light, vivid pink. Relative luminance 0.485; OKLCH L 80.5% C 0.152 H 334.3°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#FA98E7
RGBrgb(250, 152, 231)
HSLhsl(312, 91%, 79%)
HSVhsv(312, 39%, 98%)
CMYKcmyk(0%, 39.2%, 7.6%, 2%)
CIE-LABlab(75.17, 47.70, -24.42)
CIE-LCHlch(75.17, 53.59, 332.89°)
OKLaboklab(80.51% 0.1368 -0.0658)
OKLCHoklch(80.51% 0.152 334.3)
XYZxyz(65.0760, 48.5535, 81.5298)
Luminance0.4855 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA98E7 #98FAAB
analogous
#DC98FA #FA98E7 #FA98B6
triadic
#FA98E7 #E7FA98 #98E7FA
tetradic
#FA98E7 #FADC98 #98FAAB #98B6FA
square
#FA98E7 #FADC98 #98FAAB #98B6FA
split-complementary
#FA98E7 #B6FA98 #98FADC
monochromatic
#F423CC #F75ED9 #FA98E7 #FDD2F5 #FEE2F8

Accessibility & contrast

On white

1.96
#FA98E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#FA98E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA98E7
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA98E7#FFFFFF#000000##000000
##FA98E71.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B0EA
Deuteranopia (green-blind)
#B1BEE4
Tritanopia (blue-blind)
#FF9DB5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #fa98e7;
/* rgb */ color: rgb(250, 152, 231);
/* oklch */ color: oklch(80.5% 0.152 334.3);
Tailwind
colors: {
  custom: {
    50: '#fdb8ee',
    500: '#fa98e7',
    950: '#000000',
  },
}
SCSS
$custom: #fa98e7;
$custom-light: #fdb8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#fa98e7",
  "rgb": {
    "r": 250,
    "g": 152,
    "b": 231
  },
  "hsl": {
    "h": 311.633,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80507,
    "c": 0.15183,
    "h": 334.3
  },
  "luminance": 0.4855
}

Semantic roles & 50–950 ramp

primary
#FA98E7
secondary
#D5F6DC
accent
#E62C00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FA98E7

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

Preview Lab → · Contrast checker → · Palette generator →

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