#F478A2#F478A2

#F478A2 is a light, vivid pink. Relative luminance 0.353; OKLCH L 72.7% C 0.157 H 0.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#F478A2
RGBrgb(244, 120, 162)
HSLhsl(340, 85%, 71%)
HSVhsv(340, 51%, 96%)
CMYKcmyk(0%, 50.8%, 33.6%, 4.3%)
CIE-LABlab(65.97, 51.80, 0.11)
CIE-LCHlch(65.97, 51.80, 0.12°)
OKLaboklab(72.7% 0.1574 0.001)
OKLCHoklch(72.7% 0.157 0.3)
XYZxyz(50.5487, 35.2795, 38.3229)
Luminance0.3528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F478A2 #78F4CA
analogous
#F478E0 #F478A2 #F48C78
triadic
#F478A2 #A2F478 #78A2F4
tetradic
#F478A2 #E0F478 #78F4CA #8C78F4
square
#F478A2 #E0F478 #78F4CA #8C78F4
split-complementary
#F478A2 #78F48C #78E0F4
monochromatic
#DF1258 #EF3F7B #F478A2 #F9B1C9 #FDE3EC

Accessibility & contrast

On white

2.61
#F478A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#F478A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F478A2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F478A2#FFFFFF#000000##000000
##F478A21.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#ACA99F
Tritanopia (blue-blind)
#FF6E87
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f478a2;
/* rgb */ color: rgb(244, 120, 162);
/* oklch */ color: oklch(72.7% 0.157 0.3);
Tailwind
colors: {
  custom: {
    50: '#fba2bd',
    500: '#f478a2',
    950: '#000000',
  },
}
SCSS
$custom: #f478a2;
$custom-light: #fba2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f478a2",
  "rgb": {
    "r": 244,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 339.677,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72697,
    "c": 0.15743,
    "h": 0.3
  },
  "luminance": 0.35275
}

Semantic roles & 50–950 ramp

primary
#F478A2
secondary
#D4F4E9
accent
#E19604
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F478A2

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

Preview Lab → · Contrast checker → · Palette generator →

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