#F047A2#F047A2

#F047A2 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.4% C 0.220 H 351.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#F047A2
RGBrgb(240, 71, 162)
HSLhsl(328, 85%, 61%)
HSVhsv(328, 70%, 94%)
CMYKcmyk(0%, 70.4%, 32.5%, 5.9%)
CIE-LABlab(57.70, 71.20, -12.21)
CIE-LCHlch(57.70, 72.24, 350.27°)
OKLaboklab(66.44% 0.2177 -0.0315)
OKLCHoklch(66.44% 0.22 351.8)
XYZxyz(44.7125, 25.6455, 36.7709)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F047A2 #47F095
analogous
#E947F0 #F047A2 #F0474D
triadic
#F047A2 #A2F047 #47A2F0
tetradic
#F047A2 #F0E947 #47F095 #474DF0
square
#F047A2 #F0E947 #47F095 #474DF0
split-complementary
#F047A2 #4DF047 #47F0E9
monochromatic
#AE0E64 #E71385 #F047A2 #F580BF #F9B8DB

Accessibility & contrast

On white

3.43
#F047A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#F047A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F047A2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F047A2#FFFFFF#000000##000000
##F047A21.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#93969E
Tritanopia (blue-blind)
#FF3B6F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f047a2;
/* rgb */ color: rgb(240, 71, 162);
/* oklch */ color: oklch(66.4% 0.220 351.8);
Tailwind
colors: {
  custom: {
    50: '#fa87bd',
    500: '#f047a2',
    950: '#000000',
  },
}
SCSS
$custom: #f047a2;
$custom-light: #fa87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f047a2",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 327.692,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66436,
    "c": 0.21999,
    "h": 351.8
  },
  "luminance": 0.2564
}

Semantic roles & 50–950 ramp

primary
#F047A2
secondary
#AAE9C7
accent
#E16A04
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180C12
muted
#867D81

Preview Lab

Preview with #F047A2

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

Preview Lab → · Contrast checker → · Palette generator →

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