#F278BC#F278BC

#F278BC is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.3% C 0.167 H 347.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#F278BC
RGBrgb(242, 120, 188)
HSLhsl(327, 82%, 71%)
HSVhsv(327, 50%, 95%)
CMYKcmyk(0%, 50.4%, 22.3%, 5.1%)
CIE-LABlab(66.48, 54.51, -13.87)
CIE-LCHlch(66.48, 56.25, 345.72°)
OKLaboklab(73.29% 0.1635 -0.0364)
OKLCHoklch(73.29% 0.167 347.4)
XYZxyz(52.4129, 35.9453, 51.7449)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278BC #78F2AE
analogous
#EB78F2 #F278BC #F2787F
triadic
#F278BC #BCF278 #78BCF2
tetradic
#F278BC #F2EB78 #78F2AE #787FF2
square
#F278BC #F2EB78 #78F2AE #787FF2
split-complementary
#F278BC #7FF278 #78F2EB
monochromatic
#DB1583 #ED40A0 #F278BC #F7B0D8 #FCE3F1

Accessibility & contrast

On white

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

On black

8.19
#F278BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278BC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278BC#FFFFFF#000000##000000
##F278BC1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BE
Deuteranopia (green-blind)
#A4A9B9
Tritanopia (blue-blind)
#FF7592
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f278bc;
/* rgb */ color: rgb(242, 120, 188);
/* oklch */ color: oklch(73.3% 0.167 347.4);
Tailwind
colors: {
  custom: {
    50: '#f9a3d0',
    500: '#f278bc',
    950: '#000000',
  },
}
SCSS
$custom: #f278bc;
$custom-light: #f9a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#f278bc",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 326.557,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73285,
    "c": 0.16749,
    "h": 347.4
  },
  "luminance": 0.35941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F278BC

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

Preview Lab → · Contrast checker → · Palette generator →

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