#F278CA#F278CA

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

Color values

HEX#F278CA
RGBrgb(242, 120, 202)
HSLhsl(320, 82%, 71%)
HSVhsv(320, 50%, 95%)
CMYKcmyk(0%, 50.4%, 16.5%, 5.1%)
CIE-LABlab(66.96, 56.52, -21.01)
CIE-LCHlch(66.96, 60.30, 339.61°)
OKLaboklab(73.8% 0.1672 -0.0561)
OKLCHoklch(73.8% 0.176 341.5)
XYZxyz(53.9960, 36.5786, 60.0821)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F278CA #78F2A0
analogous
#DD78F2 #F278CA #F2788D
triadic
#F278CA #CAF278 #78CAF2
tetradic
#F278CA #F2DD78 #78F2A0 #788DF2
square
#F278CA #F2DD78 #78F2A0 #788DF2
split-complementary
#F278CA #8DF278 #78F2DD
monochromatic
#DB159A #ED40B4 #F278CA #F7B0E0 #FCE3F4

Accessibility & contrast

On white

2.53
#F278CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#F278CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F278CA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F278CA#FFFFFF#000000##000000
##F278CA1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CD
Deuteranopia (green-blind)
#A0AAC7
Tritanopia (blue-blind)
#FE7998
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f278ca;
/* rgb */ color: rgb(242, 120, 202);
/* oklch */ color: oklch(73.8% 0.176 341.5);
Tailwind
colors: {
  custom: {
    50: '#f9a3da',
    500: '#f278ca',
    950: '#000000',
  },
}
SCSS
$custom: #f278ca;
$custom-light: #f9a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#f278ca",
  "rgb": {
    "r": 242,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 319.672,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73802,
    "c": 0.17634,
    "h": 341.5
  },
  "luminance": 0.36574
}

Semantic roles & 50–950 ramp

primary
#F278CA
secondary
#D3F3DD
accent
#DF4E07
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F278CA

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

Preview Lab → · Contrast checker → · Palette generator →

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