#F078DB#F078DB

#F078DB is a light, vivid pink. Relative luminance 0.371; OKLCH L 74.2% C 0.187 H 334.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F078DB
RGBrgb(240, 120, 219)
HSLhsl(311, 80%, 71%)
HSVhsv(311, 50%, 94%)
CMYKcmyk(0%, 50%, 8.8%, 5.9%)
CIE-LABlab(67.33, 58.56, -29.95)
CIE-LCHlch(67.33, 65.77, 332.91°)
OKLaboklab(74.24% 0.1689 -0.0812)
OKLCHoklch(74.24% 0.187 334.3)
XYZxyz(55.4379, 37.0764, 71.2406)
Luminance0.3707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078DB #78F08D
analogous
#C978F0 #F078DB #F0789F
triadic
#F078DB #DBF078 #78DBF0
tetradic
#F078DB #F0C978 #78F08D #789FF0
square
#F078DB #F0C978 #78F08D #789FF0
split-complementary
#F078DB #9FF078 #78F0C9
monochromatic
#D618B5 #EA41CC #F078DB #F6AFEA #FCE3F8

Accessibility & contrast

On white

2.50
#F078DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F078DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078DB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078DB#FFFFFF#000000##000000
##F078DB1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DE
Deuteranopia (green-blind)
#99AAD8
Tritanopia (blue-blind)
#FA7FA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f078db;
/* rgb */ color: rgb(240, 120, 219);
/* oklch */ color: oklch(74.2% 0.187 334.3);
Tailwind
colors: {
  custom: {
    50: '#f7a3e6',
    500: '#f078db',
    950: '#000000',
  },
}
SCSS
$custom: #f078db;
$custom-light: #f7a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f078db",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 310.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74236,
    "c": 0.18737,
    "h": 334.3
  },
  "luminance": 0.37073
}

Semantic roles & 50–950 ramp

primary
#F078DB
secondary
#D2F2D7
accent
#DC2E09
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #F078DB

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

Preview Lab → · Contrast checker → · Palette generator →

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