#F278BF#F278BF

#F278BF is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.4% C 0.169 H 346.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F278BF
RGBrgb(242, 120, 191)
HSLhsl(325, 82%, 71%)
HSVhsv(325, 50%, 95%)
CMYKcmyk(0%, 50.4%, 21.1%, 5.1%)
CIE-LABlab(66.58, 54.93, -15.41)
CIE-LCHlch(66.58, 57.05, 344.33°)
OKLaboklab(73.39% 0.1643 -0.0406)
OKLCHoklch(73.39% 0.169 346.1)
XYZxyz(52.7397, 36.0760, 53.4658)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278BF #78F2AB
analogous
#E878F2 #F278BF #F27882
triadic
#F278BF #BFF278 #78BFF2
tetradic
#F278BF #F2E878 #78F2AB #7882F2
square
#F278BF #F2E878 #78F2AB #7882F2
split-complementary
#F278BF #82F278 #78F2E8
monochromatic
#DB1588 #ED40A5 #F278BF #F7B0D9 #FCE3F2

Accessibility & contrast

On white

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

On black

8.21
#F278BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278BF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278BF#FFFFFF#000000##000000
##F278BF1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8395C1
Deuteranopia (green-blind)
#A4AABC
Tritanopia (blue-blind)
#FF7693
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f278bf;
/* rgb */ color: rgb(242, 120, 191);
/* oklch */ color: oklch(73.4% 0.169 346.1);
Tailwind
colors: {
  custom: {
    50: '#f9a3d2',
    500: '#f278bf',
    950: '#000000',
  },
}
SCSS
$custom: #f278bf;
$custom-light: #f9a3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f278bf",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 325.082,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73392,
    "c": 0.16927,
    "h": 346.1
  },
  "luminance": 0.36072
}

Semantic roles & 50–950 ramp

primary
#F278BF
secondary
#D3F3E0
accent
#DF6107
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F278BF

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

Preview Lab → · Contrast checker → · Palette generator →

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