#F278DB#F278DB

#F278DB is a light, vivid pink. Relative luminance 0.374; OKLCH L 74.5% C 0.189 H 334.9°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#F278DB
RGBrgb(242, 120, 219)
HSLhsl(311, 82%, 71%)
HSVhsv(311, 50%, 95%)
CMYKcmyk(0%, 50.4%, 9.5%, 5.1%)
CIE-LABlab(67.60, 59.13, -29.52)
CIE-LCHlch(67.60, 66.09, 333.47°)
OKLaboklab(74.49% 0.171 -0.0799)
OKLCHoklch(74.49% 0.189 334.9)
XYZxyz(56.1207, 37.4285, 71.2726)
Luminance0.3743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278DB #78F28F
analogous
#CC78F2 #F278DB #F2789E
triadic
#F278DB #DBF278 #78DBF2
tetradic
#F278DB #F2CC78 #78F28F #789EF2
square
#F278DB #F2CC78 #78F28F #789EF2
split-complementary
#F278DB #9EF278 #78F2CC
monochromatic
#DB15B5 #ED40CC #F278DB #F7B0EA #FCE3F8

Accessibility & contrast

On white

2.47
#F278DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#F278DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278DB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278DB#FFFFFF#000000##000000
##F278DB1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DE
Deuteranopia (green-blind)
#9BABD8
Tritanopia (blue-blind)
#FC7EA0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f278db;
/* rgb */ color: rgb(242, 120, 219);
/* oklch */ color: oklch(74.5% 0.189 334.9);
Tailwind
colors: {
  custom: {
    50: '#f9a3e6',
    500: '#f278db',
    950: '#000000',
  },
}
SCSS
$custom: #f278db;
$custom-light: #f9a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f278db",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 311.311,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74486,
    "c": 0.18878,
    "h": 334.9
  },
  "luminance": 0.37425
}

Semantic roles & 50–950 ramp

primary
#F278DB
secondary
#D3F3D9
accent
#DF2F07
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F278DB

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

Preview Lab → · Contrast checker → · Palette generator →

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