#F278BD#F278BD

#F278BD is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.3% C 0.168 H 347.0°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#F278BD
RGBrgb(242, 120, 189)
HSLhsl(326, 82%, 71%)
HSVhsv(326, 50%, 95%)
CMYKcmyk(0%, 50.4%, 21.9%, 5.1%)
CIE-LABlab(66.51, 54.65, -14.38)
CIE-LCHlch(66.51, 56.51, 345.25°)
OKLaboklab(73.32% 0.1638 -0.0378)
OKLCHoklch(73.32% 0.168 347)
XYZxyz(52.5211, 35.9886, 52.3146)
Luminance0.3598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278BD #78F2AD
analogous
#EA78F2 #F278BD #F27880
triadic
#F278BD #BDF278 #78BDF2
tetradic
#F278BD #F2EA78 #78F2AD #7880F2
square
#F278BD #F2EA78 #78F2AD #7880F2
split-complementary
#F278BD #80F278 #78F2EA
monochromatic
#DB1585 #ED40A2 #F278BD #F7B0D8 #FCE3F1

Accessibility & contrast

On white

2.56
#F278BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#F278BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278BD
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278BD#FFFFFF#000000##000000
##F278BD1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395BF
Deuteranopia (green-blind)
#A4A9BA
Tritanopia (blue-blind)
#FF7692
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f278bd;
/* rgb */ color: rgb(242, 120, 189);
/* oklch */ color: oklch(73.3% 0.168 347.0);
Tailwind
colors: {
  custom: {
    50: '#f9a3d1',
    500: '#f278bd',
    950: '#000000',
  },
}
SCSS
$custom: #f278bd;
$custom-light: #f9a3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#f278bd",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 326.066,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7332,
    "c": 0.16807,
    "h": 347
  },
  "luminance": 0.35984
}

Semantic roles & 50–950 ramp

primary
#F278BD
secondary
#D3F3E1
accent
#DF6507
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F278BD

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

Preview Lab → · Contrast checker → · Palette generator →

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