#F478DC#F478DC

#F478DC is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.8% C 0.191 H 335.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F478DC
RGBrgb(244, 120, 220)
HSLhsl(312, 85%, 71%)
HSVhsv(312, 51%, 96%)
CMYKcmyk(0%, 50.8%, 9.8%, 4.3%)
CIE-LABlab(67.90, 59.87, -29.59)
CIE-LCHlch(67.90, 66.78, 333.70°)
OKLaboklab(74.78% 0.1734 -0.0801)
OKLCHoklch(74.78% 0.191 335.2)
XYZxyz(56.9431, 37.8373, 72.0004)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F478DC #78F490
analogous
#CE78F4 #F478DC #F4789E
triadic
#F478DC #DCF478 #78DCF4
tetradic
#F478DC #F4CE78 #78F490 #789EF4
square
#F478DC #F4CE78 #78F490 #789EF4
split-complementary
#F478DC #9EF478 #78F4CE
monochromatic
#DF12B8 #EF3FCD #F478DC #F9B1EB #FDE3F8

Accessibility & contrast

On white

2.45
#F478DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#F478DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F478DC
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F478DC#FFFFFF#000000##000000
##F478DC1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#789ADF
Deuteranopia (green-blind)
#9CACD9
Tritanopia (blue-blind)
#FE7EA0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f478dc;
/* rgb */ color: rgb(244, 120, 220);
/* oklch */ color: oklch(74.8% 0.191 335.2);
Tailwind
colors: {
  custom: {
    50: '#faa3e7',
    500: '#f478dc',
    950: '#000000',
  },
}
SCSS
$custom: #f478dc;
$custom-light: #faa3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f478dc",
  "rgb": {
    "r": 244,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 311.613,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74778,
    "c": 0.19096,
    "h": 335.2
  },
  "luminance": 0.37833
}

Semantic roles & 50–950 ramp

primary
#F478DC
secondary
#D4F4DA
accent
#E12F04
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F478DC

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

Preview Lab → · Contrast checker → · Palette generator →

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