#F278C7#F278C7

#F278C7 is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.7% C 0.174 H 342.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F278C7
RGBrgb(242, 120, 199)
HSLhsl(321, 82%, 71%)
HSVhsv(321, 50%, 95%)
CMYKcmyk(0%, 50.4%, 17.8%, 5.1%)
CIE-LABlab(66.85, 56.08, -19.49)
CIE-LCHlch(66.85, 59.37, 340.84°)
OKLaboklab(73.69% 0.1664 -0.0519)
OKLCHoklch(73.69% 0.174 342.7)
XYZxyz(53.6442, 36.4379, 58.2296)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278C7 #78F2A3
analogous
#E078F2 #F278C7 #F2788A
triadic
#F278C7 #C7F278 #78C7F2
tetradic
#F278C7 #F2E078 #78F2A3 #788AF2
square
#F278C7 #F2E078 #78F2A3 #788AF2
split-complementary
#F278C7 #8AF278 #78F2E0
monochromatic
#DB1595 #ED40B0 #F278C7 #F7B0DE #FCE3F3

Accessibility & contrast

On white

2.53
#F278C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F278C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278C7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278C7#FFFFFF#000000##000000
##F278C71.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8096CA
Deuteranopia (green-blind)
#A1AAC4
Tritanopia (blue-blind)
#FF7897
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f278c7;
/* rgb */ color: rgb(242, 120, 199);
/* oklch */ color: oklch(73.7% 0.174 342.7);
Tailwind
colors: {
  custom: {
    50: '#f9a3d8',
    500: '#f278c7',
    950: '#000000',
  },
}
SCSS
$custom: #f278c7;
$custom-light: #f9a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f278c7",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 321.148,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73688,
    "c": 0.17434,
    "h": 342.7
  },
  "luminance": 0.36434
}

Semantic roles & 50–950 ramp

primary
#F278C7
secondary
#D3F3DE
accent
#DF5307
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F278C7

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

Preview Lab → · Contrast checker → · Palette generator →

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