#F278CF#F278CF

#F278CF is a light, vivid pink. Relative luminance 0.368; OKLCH L 74.0% C 0.180 H 339.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#F278CF
RGBrgb(242, 120, 207)
HSLhsl(317, 82%, 71%)
HSVhsv(317, 50%, 95%)
CMYKcmyk(0%, 50.4%, 14.5%, 5.1%)
CIE-LABlab(67.14, 57.27, -23.53)
CIE-LCHlch(67.14, 61.92, 337.66°)
OKLaboklab(74% 0.1684 -0.0631)
OKLCHoklch(74% 0.18 339.5)
XYZxyz(54.5976, 36.8192, 63.2506)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278CF #78F29B
analogous
#D878F2 #F278CF #F27892
triadic
#F278CF #CFF278 #78CFF2
tetradic
#F278CF #F2D878 #78F29B #7892F2
square
#F278CF #F2D878 #78F29B #7892F2
split-complementary
#F278CF #92F278 #78F2D8
monochromatic
#DB15A2 #ED40BB #F278CF #F7B0E3 #FCE3F5

Accessibility & contrast

On white

2.51
#F278CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#F278CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278CF
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278CF#FFFFFF#000000##000000
##F278CF1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D2
Deuteranopia (green-blind)
#9FAACC
Tritanopia (blue-blind)
#FE7B9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f278cf;
/* rgb */ color: rgb(242, 120, 207);
/* oklch */ color: oklch(74.0% 0.180 339.5);
Tailwind
colors: {
  custom: {
    50: '#f9a3dd',
    500: '#f278cf',
    950: '#000000',
  },
}
SCSS
$custom: #f278cf;
$custom-light: #f9a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#f278cf",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 317.213,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73997,
    "c": 0.17983,
    "h": 339.5
  },
  "luminance": 0.36815
}

Semantic roles & 50–950 ramp

primary
#F278CF
secondary
#D3F3DC
accent
#DF4507
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F278CF

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

Preview Lab → · Contrast checker → · Palette generator →

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