#FA98DC#FA98DC

#FA98DC is a light, vivid pink. Relative luminance 0.479; OKLCH L 80.1% C 0.143 H 339.3°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#FA98DC
RGBrgb(250, 152, 220)
HSLhsl(318, 91%, 79%)
HSVhsv(318, 39%, 98%)
CMYKcmyk(0%, 39.2%, 12%, 2%)
CIE-LABlab(74.79, 45.91, -18.98)
CIE-LCHlch(74.79, 49.68, 337.53°)
OKLaboklab(80.1% 0.1339 -0.0507)
OKLCHoklch(80.1% 0.143 339.3)
XYZxyz(63.5710, 47.9515, 73.6034)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA98DC #98FAB6
analogous
#E798FA #FA98DC #FA98AB
triadic
#FA98DC #DCFA98 #98DCFA
tetradic
#FA98DC #FAE798 #98FAB6 #98ABFA
square
#FA98DC #FAE798 #98FAB6 #98ABFA
split-complementary
#FA98DC #ABFA98 #98FAE7
monochromatic
#F423B4 #F75EC8 #FA98DC #FDD2F0 #FEE2F5

Accessibility & contrast

On white

1.98
#FA98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#FA98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA98DC
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA98DC#FFFFFF#000000##000000
##FA98DC1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAFDE
Deuteranopia (green-blind)
#B4BED9
Tritanopia (blue-blind)
#FF9AB1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #fa98dc;
/* rgb */ color: rgb(250, 152, 220);
/* oklch */ color: oklch(80.1% 0.143 339.3);
Tailwind
colors: {
  custom: {
    50: '#fdb8e7',
    500: '#fa98dc',
    950: '#000000',
  },
}
SCSS
$custom: #fa98dc;
$custom-light: #fdb8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#fa98dc",
  "rgb": {
    "r": 250,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 318.367,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.80097,
    "c": 0.14315,
    "h": 339.3
  },
  "luminance": 0.47948
}

Semantic roles & 50–950 ramp

primary
#FA98DC
secondary
#D5F6DF
accent
#E64600
background
#FFFBFE
surface
#FFF6FC
border
#D7D0D5
text
#181116
muted
#868084

Preview Lab

Preview with #FA98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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