#F278CB#F278CB

#F278CB is a light, vivid pink. Relative luminance 0.366; OKLCH L 73.8% C 0.177 H 341.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F278CB
RGBrgb(242, 120, 203)
HSLhsl(319, 82%, 71%)
HSVhsv(319, 50%, 95%)
CMYKcmyk(0%, 50.4%, 16.1%, 5.1%)
CIE-LABlab(67.00, 56.67, -21.51)
CIE-LCHlch(67.00, 60.62, 339.21°)
OKLaboklab(73.84% 0.1674 -0.0575)
OKLCHoklch(73.84% 0.177 341.1)
XYZxyz(54.1147, 36.6261, 60.7077)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278CB #78F29F
analogous
#DC78F2 #F278CB #F2788E
triadic
#F278CB #CBF278 #78CBF2
tetradic
#F278CB #F2DC78 #78F29F #788EF2
square
#F278CB #F2DC78 #78F29F #788EF2
split-complementary
#F278CB #8EF278 #78F2DC
monochromatic
#DB159B #ED40B5 #F278CB #F7B0E1 #FCE3F4

Accessibility & contrast

On white

2.52
#F278CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#F278CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278CB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278CB#FFFFFF#000000##000000
##F278CB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CE
Deuteranopia (green-blind)
#A0AAC8
Tritanopia (blue-blind)
#FE7A98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f278cb;
/* rgb */ color: rgb(242, 120, 203);
/* oklch */ color: oklch(73.8% 0.177 341.1);
Tailwind
colors: {
  custom: {
    50: '#f9a3db',
    500: '#f278cb',
    950: '#000000',
  },
}
SCSS
$custom: #f278cb;
$custom-light: #f9a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#f278cb",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 319.18,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73841,
    "c": 0.17703,
    "h": 341.1
  },
  "luminance": 0.36622
}

Semantic roles & 50–950 ramp

primary
#F278CB
secondary
#D3F3DD
accent
#DF4C07
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F15
muted
#867F83

Preview Lab

Preview with #F278CB

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

Preview Lab → · Contrast checker → · Palette generator →

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