#F047A8#F047A8

#F047A8 is a light, highly saturated pink. Relative luminance 0.259; OKLCH L 66.7% C 0.223 H 349.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#F047A8
RGBrgb(240, 71, 168)
HSLhsl(326, 85%, 61%)
HSVhsv(326, 70%, 94%)
CMYKcmyk(0%, 70.4%, 30%, 5.9%)
CIE-LABlab(57.91, 71.88, -15.39)
CIE-LCHlch(57.91, 73.50, 347.91°)
OKLaboklab(66.66% 0.2192 -0.0402)
OKLCHoklch(66.66% 0.223 349.6)
XYZxyz(45.2586, 25.8640, 39.6470)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F047A8 #47F08F
analogous
#E347F0 #F047A8 #F04753
triadic
#F047A8 #A8F047 #47A8F0
tetradic
#F047A8 #F0E347 #47F08F #4753F0
square
#F047A8 #F0E347 #47F08F #4753F0
split-complementary
#F047A8 #53F047 #47F0E3
monochromatic
#AE0E6A #E7138D #F047A8 #F580C3 #F9B8DE

Accessibility & contrast

On white

3.40
#F047A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#F047A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F047A8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F047A8#FFFFFF#000000##000000
##F047A81.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6178AB
Deuteranopia (green-blind)
#9196A4
Tritanopia (blue-blind)
#FF3E71
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f047a8;
/* rgb */ color: rgb(240, 71, 168);
/* oklch */ color: oklch(66.7% 0.223 349.6);
Tailwind
colors: {
  custom: {
    50: '#fa87c2',
    500: '#f047a8',
    950: '#000000',
  },
}
SCSS
$custom: #f047a8;
$custom-light: #fa87c2;
$custom-dark: #000000;
JSON
{
  "hex": "#f047a8",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 325.562,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66658,
    "c": 0.22288,
    "h": 349.6
  },
  "luminance": 0.25859
}

Semantic roles & 50–950 ramp

primary
#F047A8
secondary
#AAE9C5
accent
#E16204
background
#FFF8FB
surface
#FFF0F7
border
#D7CBD0
text
#180C12
muted
#867D81

Preview Lab

Preview with #F047A8

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

Preview Lab → · Contrast checker → · Palette generator →

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