#F278BB#F278BB

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

Color values

HEX#F278BB
RGBrgb(242, 120, 187)
HSLhsl(327, 82%, 71%)
HSVhsv(327, 50%, 95%)
CMYKcmyk(0%, 50.4%, 22.7%, 5.1%)
CIE-LABlab(66.45, 54.37, -13.36)
CIE-LCHlch(66.45, 55.99, 346.20°)
OKLaboklab(73.25% 0.1632 -0.035)
OKLCHoklch(73.25% 0.167 347.9)
XYZxyz(52.3055, 35.9024, 51.1791)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278BB #78F2AF
analogous
#EC78F2 #F278BB #F2787E
triadic
#F278BB #BBF278 #78BBF2
tetradic
#F278BB #F2EC78 #78F2AF #787EF2
square
#F278BB #F2EC78 #78F2AF #787EF2
split-complementary
#F278BB #7EF278 #78F2EC
monochromatic
#DB1582 #ED409F #F278BB #F7B0D7 #FCE3F1

Accessibility & contrast

On white

2.57
#F278BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F278BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278BB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278BB#FFFFFF#000000##000000
##F278BB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BD
Deuteranopia (green-blind)
#A5A9B8
Tritanopia (blue-blind)
#FF7591
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f278bb;
/* rgb */ color: rgb(242, 120, 187);
/* oklch */ color: oklch(73.2% 0.167 347.9);
Tailwind
colors: {
  custom: {
    50: '#f9a3cf',
    500: '#f278bb',
    950: '#000000',
  },
}
SCSS
$custom: #f278bb;
$custom-light: #f9a3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#f278bb",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 327.049,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73249,
    "c": 0.16691,
    "h": 347.9
  },
  "luminance": 0.35898
}

Semantic roles & 50–950 ramp

primary
#F278BB
secondary
#D3F3E1
accent
#DF6807
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F13
muted
#867F82

Preview Lab

Preview with #F278BB

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

Preview Lab → · Contrast checker → · Palette generator →

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