#F278CF#F278CF
#F278CF is a light, vivid pink. Relative luminance 0.368; OKLCH L 74.0% C 0.180 H 339.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #F278CF |
|---|---|
| RGB | rgb(242, 120, 207) |
| HSL | hsl(317, 82%, 71%) |
| HSV | hsv(317, 50%, 95%) |
| CMYK | cmyk(0%, 50.4%, 14.5%, 5.1%) |
| CIE-LAB | lab(67.14, 57.27, -23.53) |
| CIE-LCH | lch(67.14, 61.92, 337.66°) |
| OKLab | oklab(74% 0.1684 -0.0631) |
| OKLCH | oklch(74% 0.18 339.5) |
| XYZ | xyz(54.5976, 36.8192, 63.2506) |
| Luminance | 0.3681 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bubblegum Pink
#FE83CC
ΔE00 3.99
Purply Pink
#F075E6
ΔE00 4.66
Lavender Pink
#DD85D7
ΔE00 4.81
Candy Pink
#FF63E9
ΔE00 5.74
Pink (survey)
#FF81C0
ΔE00 5.84
Violet (CSS)
#EE82EE
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F278CF #78F29B
analogous
#D878F2 #F278CF #F27892
triadic
#F278CF #CFF278 #78CFF2
tetradic
#F278CF #F2D878 #78F29B #7892F2
square
#F278CF #F2D878 #78F29B #7892F2
split-complementary
#F278CF #92F278 #78F2D8
monochromatic
#DB15A2 #ED40BB #F278CF #F7B0E3 #FCE3F5
Accessibility & contrast
On white
2.51
#F278CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#F278CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F278CF
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F278CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F278CF | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D97D2
Deuteranopia (green-blind)
#9FAACC
Tritanopia (blue-blind)
#FE7B9A
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f278cf; /* rgb */ color: rgb(242, 120, 207); /* oklch */ color: oklch(74.0% 0.180 339.5);
Tailwind
colors: {
custom: {
50: '#f9a3dd',
500: '#f278cf',
950: '#000000',
},
}SCSS
$custom: #f278cf; $custom-light: #f9a3dd; $custom-dark: #000000;
JSON
{
"hex": "#f278cf",
"rgb": {
"r": 242,
"g": 120,
"b": 207
},
"hsl": {
"h": 317.213,
"s": 82.432,
"l": 70.98
},
"oklch": {
"l": 0.73997,
"c": 0.17983,
"h": 339.5
},
"luminance": 0.36815
}Semantic roles & 50–950 ramp
primary
#F278CF
secondary
#D3F3DC
accent
#DF4507
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83