#F078A2#F078A2

#F078A2 is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.2% C 0.153 H 359.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#F078A2
RGBrgb(240, 120, 162)
HSLhsl(339, 80%, 71%)
HSVhsv(339, 50%, 94%)
CMYKcmyk(0%, 50%, 32.5%, 5.9%)
CIE-LABlab(65.41, 50.48, -0.76)
CIE-LCHlch(65.41, 50.48, 359.14°)
OKLaboklab(72.17% 0.1533 -0.0013)
OKLCHoklch(72.17% 0.153 359.5)
XYZxyz(49.1754, 34.5714, 38.2585)
Luminance0.3457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078A2 #78F0C6
analogous
#F078DE #F078A2 #F08A78
triadic
#F078A2 #A2F078 #78A2F0
tetradic
#F078A2 #DEF078 #78F0C6 #8A78F0
square
#F078A2 #DEF078 #78F0C6 #8A78F0
split-complementary
#F078A2 #78F08A #78DEF0
monochromatic
#D6185A #EA417C #F078A2 #F6AFC8 #FCE3EC

Accessibility & contrast

On white

2.65
#F078A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#F078A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078A2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078A2#FFFFFF#000000##000000
##F078A21.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B91A3
Deuteranopia (green-blind)
#A9A79F
Tritanopia (blue-blind)
#FF6F87
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f078a2;
/* rgb */ color: rgb(240, 120, 162);
/* oklch */ color: oklch(72.2% 0.153 359.5);
Tailwind
colors: {
  custom: {
    50: '#f8a2bd',
    500: '#f078a2',
    950: '#000000',
  },
}
SCSS
$custom: #f078a2;
$custom-light: #f8a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f078a2",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 339,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7217,
    "c": 0.15331,
    "h": 359.5
  },
  "luminance": 0.34567
}

Semantic roles & 50–950 ramp

primary
#F078A2
secondary
#D2F2E7
accent
#DC9209
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F078A2

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

Preview Lab → · Contrast checker → · Palette generator →

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